MCPcopy Create free account

hub / github.com/android10/arrow / functions

Functions301 in github.com/android10/arrow

↓ 63 callersMethodcheckNotNull
Ensures that an object reference passed as a parameter to the calling method is not null. @param reference an object reference @return the non-null r
src/main/java/com/fernandocejas/arrow/checks/Preconditions.java:155
↓ 27 callersMethodhasNext
()
src/main/java/com/fernandocejas/arrow/collections/Iterators.java:252
↓ 26 callersMethoditerator
()
src/main/java/com/fernandocejas/arrow/collections/Iterables.java:95
↓ 22 callersMethodnext
()
src/main/java/com/fernandocejas/arrow/collections/Iterators.java:257
↓ 16 callersMethodapply
Returns the result of applying this function to {@code input}. This method is <i>generally expected</i>, but not absolutely required, to have the foll
src/main/java/com/fernandocejas/arrow/functions/Function.java:49
↓ 14 callersMethodaddHolder
()
src/main/java/com/fernandocejas/arrow/objects/MoreObjects.java:405
↓ 10 callersMethodequals
Indicates whether another object is equal to this function. <p>Most implementations will have no reason to override the behavior of {@link Object#equ
src/main/java/com/fernandocejas/arrow/functions/Function.java:62
↓ 8 callersMethodhashCode
()
src/main/java/com/fernandocejas/arrow/functions/Predicates.java:429
↓ 7 callersMethodasList
( Predicate<? super T> first, Predicate<? super T> second)
src/main/java/com/fernandocejas/arrow/functions/Predicates.java:715
↓ 7 callersMethodcheckArgument
Ensures the truth of an expression involving one or more parameters to the calling method. @param expression a boolean expression @throws IllegalArgu
src/main/java/com/fernandocejas/arrow/checks/Preconditions.java:100
↓ 7 callersMethodsize
Returns the number of elements in {@code iterable}.
src/main/java/com/fernandocejas/arrow/collections/Iterables.java:52
↓ 7 callersMethodtoString
(@Nullable Object part)
src/main/java/com/fernandocejas/arrow/strings/Joiner.java:201
↓ 6 callersMethodadd
(int index, @Nullable T element)
src/main/java/com/fernandocejas/arrow/collections/ReverseList.java:54
↓ 6 callersMethodfilter
Returns the elements of {@code unfiltered} that satisfy a predicate.
src/main/java/com/fernandocejas/arrow/collections/Iterators.java:282
↓ 6 callersMethodformat
(String template, Object... args)
src/main/java/com/fernandocejas/arrow/checks/Preconditions.java:310
↓ 6 callersMethodremove
(int index)
src/main/java/com/fernandocejas/arrow/collections/ReverseList.java:64
↓ 5 callersMethodin
Returns a predicate that evaluates to {@code true} if the object reference being tested is a member of the given collection. It does not defensively c
src/main/java/com/fernandocejas/arrow/functions/Predicates.java:217
↓ 5 callersMethodreversePosition
(int index)
src/main/java/com/fernandocejas/arrow/collections/ReverseList.java:48
↓ 4 callersMethoddefensiveCopy
(T... array)
src/main/java/com/fernandocejas/arrow/functions/Predicates.java:721
↓ 4 callersMethodequal
Determines whether two possibly-null objects are equal. Returns: <ul> <li>{@code true} if {@code a} and {@code b} are both null. <li>{@code true} if
src/main/java/com/fernandocejas/arrow/objects/MoreObjects.java:56
↓ 4 callersMethodgetNext
Returns the next element in {@code iterator} or {@code defaultValue} if the iterator is empty. The {@link Iterables} analog to this method is {@link
src/main/java/com/fernandocejas/arrow/collections/Iterators.java:469
↓ 4 callersMethodsubList
(int fromIndex, int toIndex)
src/main/java/com/fernandocejas/arrow/collections/ReverseList.java:89
↓ 4 callersMethodtoBytes
(double d)
src/main/java/com/fernandocejas/arrow/size/SizeUnit.java:24
↓ 4 callersMethodtoGigabytes
(long d)
src/main/java/com/fernandocejas/arrow/size/SizeUnit.java:27
↓ 4 callersMethodtoMegabytes
(long d)
src/main/java/com/fernandocejas/arrow/size/SizeUnit.java:26
↓ 4 callersMethodtoString
()
src/main/java/com/fernandocejas/arrow/functions/Predicates.java:444
↓ 4 callersMethodtoTerabytes
(long d)
src/main/java/com/fernandocejas/arrow/size/SizeUnit.java:28
↓ 4 callersMethodwithNarrowedType
()
src/main/java/com/fernandocejas/arrow/functions/Predicates.java:318
↓ 3 callersMethodabsent
Returns an {@code Optional} instance with no contained reference.
src/main/java/com/fernandocejas/arrow/optional/Optional.java:78
↓ 3 callersMethodadvance
Calls {@code next()} on {@code iterator}, either {@code numberToAdvance} times or until {@code hasNext()} returns {@code false}, whichever comes first
src/main/java/com/fernandocejas/arrow/collections/Iterators.java:509
↓ 3 callersMethodand
Returns a predicate that evaluates to {@code true} if each of its components evaluates to {@code true}. The components are evaluated in order, and eva
src/main/java/com/fernandocejas/arrow/functions/Predicates.java:95
↓ 3 callersMethodbadPositionIndex
(int index, int size, String desc)
src/main/java/com/fernandocejas/arrow/checks/Preconditions.java:259
↓ 3 callersMethodcast
Used to avoid http://bugs.sun.com/view_bug.do?bug_id=6558557
src/main/java/com/fernandocejas/arrow/collections/MoreCollections.java:115
↓ 3 callersMethodcheckIndexNonnegative
(int value)
src/main/java/com/fernandocejas/arrow/collections/CollectPreconditions.java:25
↓ 3 callersMethodcheckState
Ensures the truth of an expression involving the state of the calling instance, but not involving any parameters to the calling method. @param expres
src/main/java/com/fernandocejas/arrow/checks/Preconditions.java:127
↓ 3 callersMethodget
Returns the element at the specified position in an iterable. @param position position of the element to return @return the element at the specified
src/main/java/com/fernandocejas/arrow/collections/Iterables.java:459
↓ 3 callersMethoditerable
( final Object first, final Object second, final Object[] rest)
src/main/java/com/fernandocejas/arrow/strings/Joiner.java:257
↓ 3 callersMethoditerator
()
src/main/java/com/fernandocejas/arrow/collections/FilteredCollection.java:82
↓ 3 callersMethoditerator
()
src/main/java/com/fernandocejas/arrow/optional/Optional.java:211
↓ 3 callersMethodnewArrayList
Creates a <i>mutable</i> {@code ArrayList} instance containing the given elements. <p><b>Note:</b> essentially the only reason to use this method is
src/main/java/com/fernandocejas/arrow/collections/Lists.java:59
↓ 3 callersMethodremoveIf
Removes, from an iterable, every element that satisfies the provided predicate. @param removeFrom the iterable to (potentially) remove elements from
src/main/java/com/fernandocejas/arrow/collections/Iterables.java:218
↓ 3 callersMethodremoveIf
Removes every element that satisfies the provided predicate from the iterator. The iterator will be left exhausted: its {@code hasNext()} method will
src/main/java/com/fernandocejas/arrow/collections/Iterators.java:98
↓ 3 callersMethodreverseIndex
(int index)
src/main/java/com/fernandocejas/arrow/collections/ReverseList.java:42
↓ 3 callersMethodsize
()
src/main/java/com/fernandocejas/arrow/collections/ReverseList.java:84
↓ 2 callersMethodaddAll
Adds all elements in {@code iterable} to {@code collection}. @return {@code true} if {@code collection} was modified as a result of this operation.
src/main/java/com/fernandocejas/arrow/collections/Iterables.java:366
↓ 2 callersMethodaddAll
Adds all elements in {@code iterator} to {@code collection}. The iterator will be left exhausted: its {@code hasNext()} method will return {@code fals
src/main/java/com/fernandocejas/arrow/collections/Iterators.java:198
↓ 2 callersMethodany
Returns {@code true} if one or more elements returned by {@code iterator} satisfy the given predicate.
src/main/java/com/fernandocejas/arrow/collections/Iterators.java:319
↓ 2 callersMethodappendTo
Appends the string representation of each of {@code parts}, using the previously configured separator between each, to {@code appendable}.
src/main/java/com/fernandocejas/arrow/strings/Joiner.java:77
↓ 2 callersMethodcast
Used to avoid http://bugs.sun.com/view_bug.do?bug_id=6558557
src/main/java/com/fernandocejas/arrow/collections/Lists.java:136
↓ 2 callersMethodcheckElementIndex
Ensures that {@code index} specifies a valid <i>element</i> in an array, list or string of size {@code size}. An element index may range from zero, in
src/main/java/com/fernandocejas/arrow/checks/Preconditions.java:190
↓ 2 callersMethodclear
()
src/main/java/com/fernandocejas/arrow/collections/ReverseList.java:59
↓ 2 callersMethodendOfData
Implementations of {@link #computeNext} <b>must</b> invoke this method when there are no elements left in the iteration. @return {@code null}; a conv
src/main/java/com/fernandocejas/arrow/collections/AbstractIterator.java:130
↓ 2 callersMethodfind
Returns the first element in {@code iterator} that satisfies the given predicate; use this method only when such an element is known to exist. If no s
src/main/java/com/fernandocejas/arrow/collections/Iterators.java:350
↓ 2 callersMethodget
(int index)
src/main/java/com/fernandocejas/arrow/strings/Joiner.java:266
↓ 2 callersMethodgetLast
Advances {@code iterator} to the end, returning the last element. @return the last element of {@code iterator} @throws NoSuchElementException if the
src/main/java/com/fernandocejas/arrow/collections/Iterators.java:480
↓ 2 callersMethodgetLastInNonemptyList
(List<T> list)
src/main/java/com/fernandocejas/arrow/collections/Iterables.java:552
↓ 2 callersMethodgetOnlyElement
Returns the single element contained in {@code iterator}. @throws NoSuchElementException if the iterator is empty @throws IllegalArgumentException if
src/main/java/com/fernandocejas/arrow/collections/Iterators.java:169
↓ 2 callersMethodhasNext
()
src/main/java/com/fernandocejas/arrow/collections/ReverseList.java:124
↓ 2 callersMethodhasNext
()
src/main/java/com/fernandocejas/arrow/collections/AbstractIterator.java:135
↓ 2 callersMethodhasPrevious
()
src/main/java/com/fernandocejas/arrow/collections/ReverseList.java:129
↓ 2 callersMethodindexOf
Returns the index in {@code iterator} of the first element that satisfies the provided {@code predicate}, or {@code -1} if the Iterator has no such el
src/main/java/com/fernandocejas/arrow/collections/Iterators.java:406
↓ 2 callersMethodisEmpty
Determines if the given iterable contains no elements. <p>There is no precise {@link Iterator} equivalent to this method, since one can only ask an i
src/main/java/com/fernandocejas/arrow/collections/Iterables.java:567
↓ 2 callersMethodjoin
Returns a string containing the string representation of each of {@code parts}, using the previously configured separator between each.
src/main/java/com/fernandocejas/arrow/strings/Joiner.java:164
↓ 2 callersMethodjoinOn
Returns a joiner which automatically places {@code separator} between consecutive elements.
src/main/java/com/fernandocejas/arrow/strings/Strings.java:82
↓ 2 callersMethodnewArray
Returns a new array of the given length with the specified component type. @param type the component type @param length the length of the new array
src/main/java/com/fernandocejas/arrow/collections/MoreArrays.java:36
↓ 2 callersMethodnot
Returns a predicate that evaluates to {@code true} if the given predicate evaluates to {@code false}.
src/main/java/com/fernandocejas/arrow/functions/Predicates.java:82
↓ 2 callersMethodpartitionImpl
( final Iterator<T> iterator, final int size, final boolean pad)
src/main/java/com/fernandocejas/arrow/collections/Iterators.java:247
↓ 2 callersMethodprevious
()
src/main/java/com/fernandocejas/arrow/collections/ReverseList.java:148
↓ 2 callersMethodsafeContains
Delegates to {@link Collection#contains}. Returns {@code false} if the {@code contains} method throws a {@code ClassCastException} or {@code NullPoint
src/main/java/com/fernandocejas/arrow/collections/MoreCollections.java:44
↓ 2 callersMethodset
(int index, @Nullable T element)
src/main/java/com/fernandocejas/arrow/collections/ReverseList.java:74
↓ 2 callersMethodsimpleName
(Class<?> clazz)
src/main/java/com/fernandocejas/arrow/objects/MoreObjects.java:173
↓ 2 callersMethodsize
()
src/main/java/com/fernandocejas/arrow/strings/Joiner.java:261
↓ 2 callersMethodsize
Returns the number of elements remaining in {@code iterator}. The iterator will be left exhausted: its {@code hasNext()} method will return {@code fal
src/main/java/com/fernandocejas/arrow/collections/Iterators.java:57
↓ 2 callersMethodsize
()
src/main/java/com/fernandocejas/arrow/collections/Partition.java:40
↓ 2 callersMethodtoKilobytes
(long d)
src/main/java/com/fernandocejas/arrow/size/SizeUnit.java:25
↓ 1 callersMethodall
Returns {@code true} if every element in {@code iterable} satisfies the predicate. If {@code iterable} is empty, {@code true} is returned.
src/main/java/com/fernandocejas/arrow/collections/Iterables.java:387
↓ 1 callersMethodall
Returns {@code true} if every element returned by {@code iterator} satisfies the given predicate. If {@code iterator} is empty, {@code true} is return
src/main/java/com/fernandocejas/arrow/collections/Iterators.java:328
↓ 1 callersMethodany
Returns {@code true} if any element in {@code iterable} satisfies the predicate.
src/main/java/com/fernandocejas/arrow/collections/Iterables.java:378
↓ 1 callersMethodbadElementIndex
(int index, int size, String desc)
src/main/java/com/fernandocejas/arrow/checks/Preconditions.java:216
↓ 1 callersMethodbadPositionIndexes
(int start, int end, int size)
src/main/java/com/fernandocejas/arrow/checks/Preconditions.java:288
↓ 1 callersMethodcheckElementNotNull
(Object element, int index)
src/main/java/com/fernandocejas/arrow/collections/CollectPreconditions.java:60
↓ 1 callersMethodcheckPositionIndex
Ensures that {@code index} specifies a valid <i>position</i> in an array, list or string of size {@code size}. A position index may range from zero to
src/main/java/com/fernandocejas/arrow/checks/Preconditions.java:236
↓ 1 callersMethodcheckPositionIndexes
Ensures that {@code start} and {@code end} specify a valid <i>positions</i> in an array, list or string of size {@code size}, and are in order. A posi
src/main/java/com/fernandocejas/arrow/checks/Preconditions.java:281
↓ 1 callersMethodcomputeNext
Returns the next element. <b>Note:</b> the implementation must call {@link #endOfData()} when there are no elements left in the iteration. Failure to
src/main/java/com/fernandocejas/arrow/collections/AbstractIterator.java:121
↓ 1 callersMethodcontains
Returns {@code true} if {@code iterable} contains any object for which {@code equals(element)} is true.
src/main/java/com/fernandocejas/arrow/collections/Iterables.java:62
↓ 1 callersMethodcontains
Returns {@code true} if {@code iterator} contains {@code element}.
src/main/java/com/fernandocejas/arrow/collections/Iterators.java:69
↓ 1 callersMethodcontains
(@Nullable Object element)
src/main/java/com/fernandocejas/arrow/collections/FilteredCollection.java:62
↓ 1 callersMethodcontains
Returns a predicate that evaluates to {@code true} if the {@code CharSequence} being tested contains any match for the given regular expression patter
src/main/java/com/fernandocejas/arrow/functions/Predicates.java:253
↓ 1 callersMethodcontainsAllImpl
Returns {@code true} if the collection {@code self} contains all of the elements in the collection {@code c}. <p>This method iterates over the specif
src/main/java/com/fernandocejas/arrow/collections/MoreCollections.java:108
↓ 1 callersMethodcreateCombined
(Predicate<? super E> newPredicate)
src/main/java/com/fernandocejas/arrow/collections/FilteredCollection.java:37
↓ 1 callersMethodelementsEqual
Determines whether two iterators contain equal elements in the same order. More specifically, this method returns {@code true} if {@code iterator1} an
src/main/java/com/fernandocejas/arrow/collections/Iterators.java:135
↓ 1 callersMethodequalTo
Returns a predicate that evaluates to {@code true} if the object being tested {@code equals()} the given target or both are null.
src/main/java/com/fernandocejas/arrow/functions/Predicates.java:168
↓ 1 callersMethodfind
Returns the first element in {@code iterable} that satisfies the given predicate; use this method only when such an element is known to exist. If it i
src/main/java/com/fernandocejas/arrow/collections/Iterables.java:401
↓ 1 callersMethodget
Advances {@code iterator} {@code position + 1} times, returning the element at the {@code position}th position. @param position position of the eleme
src/main/java/com/fernandocejas/arrow/collections/Iterators.java:427
↓ 1 callersMethodget
Returns the contained instance, which must be present. If the instance might be absent, use {@link #or(Object)} or {@link #orNull} instead. @throws I
src/main/java/com/fernandocejas/arrow/optional/Optional.java:114
↓ 1 callersMethodgetForwardList
()
src/main/java/com/fernandocejas/arrow/collections/ReverseList.java:38
↓ 1 callersMethodhashCode
Generates a hash code for multiple values. The hash code is generated by calling {@link Arrays#hashCode(Object[])}. Note that array arguments to this
src/main/java/com/fernandocejas/arrow/objects/MoreObjects.java:80
↓ 1 callersMethodindexOf
Returns the index in {@code iterable} of the first element that satisfies the provided {@code predicate}, or {@code -1} if the Iterable has no such el
src/main/java/com/fernandocejas/arrow/collections/Iterables.java:446
↓ 1 callersMethodinstanceOf
Returns a predicate that evaluates to {@code true} if the object being tested is an instance of the given class. If the object being tested is {@code
src/main/java/com/fernandocejas/arrow/functions/Predicates.java:189
↓ 1 callersMethodisBlank
@return true if the string only contains white space or if {@link #isNullOrEmpty(CharSequence)} would return true; false otherwise.
src/main/java/com/fernandocejas/arrow/strings/Strings.java:56
next →1–100 of 301, ranked by callers