| Access | Constructor and Description |
|---|---|
| private |
| Modifier and Type | Method and Description |
|---|---|
| public static <T, R extends Collection | |
| public static <T> boolean | |
| public static <T, P> boolean | |
| public static <T> boolean | |
| public static <T, P> boolean | |
| public static <T> void | |
| public static <T> void | |
| public static <T> void | |
| public static <T> RichIterable | |
| public static <T, V> MutableList | |
| public static <T, V, R extends Collection | |
| public static <T> MutableBooleanList | |
| public static <T, R extends MutableBooleanCollection> R | |
| public static <T> MutableByteList | |
| public static <T, R extends MutableByteCollection> R | |
| public static <T> MutableCharList | |
| public static <T, R extends MutableCharCollection> R | |
| public static <T> MutableDoubleList | |
| public static <T, R extends MutableDoubleCollection> R | |
| public static <T> MutableFloatList | |
| public static <T, R extends MutableFloatCollection> R | |
| public static <T, V> MutableList | |
| public static <T, V, R extends Collection | |
| public static <T> MutableIntList | |
| public static <T, R extends MutableIntCollection> R | |
| public static <T> MutableLongList | |
| public static <T, R extends MutableLongCollection> R | |
| public static <T> MutableShortList | |
| public static <T, R extends MutableShortCollection> R | |
| public static <T, P, V> MutableList | |
| public static <T, P, V, R extends Collection | collectWith(T[] objectArray, Function2<? super T, ? super P, ? extends V> function, P parameter, R targetCollection)
|
| public static <T> boolean | contains(T[] objectArray, T value)
Returns |
| public static boolean | contains(int[] intArray, int value)
Returns |
| public static boolean | contains(double[] doubleArray, double value)
Returns |
| public static boolean | contains(long[] longArray, long value)
Returns |
| public static <T> int | |
| public static <T, P> int | |
| public static <T> T | |
| public static <T> T | |
| public static <T> int | detectIndex(T[] objectArray, Predicate<? super T> predicate)
Returns the first index where the predicate evaluates to |
| public static <T, IV> int | detectIndexWith(T[] objectArray, Predicate2<? super T, ? super IV> predicate, IV injectedValue)
Searches for the first index where the predicate evaluates to |
| public static <T> int | detectLastIndex(T[] objectArray, Predicate<? super T> predicate)
Returns the last index where the predicate evaluates to |
| public static <T> Optional | |
| public static <T, P> T | |
| public static <T, P> T | detectWithIfNone(T[] objectArray, Predicate2<? super T, ? super P> predicate, P parameter, T ifNone)
|
| public static <T, P> Optional | |
| public static <T, R extends List | |
| public static <T> MutableList | |
| public static <T> MutableList | |
| public static <T> MutableList | |
| public static <T, R extends Collection | |
| public static <T, V> MutableList | |
| public static <T, V, R extends Collection | flatCollect(T[] objectArray, Function<? super T, ? extends Iterable<V>> function, R targetCollection)
|
| public static <T> void | |
| public static <T> void | |
| public static <T1, T2> void | |
| public static <T, P> void | |
| public static <T> void | |
| public static <T> void | forEachWithIndex(T[] objectArray, int from, int to, ObjectIntProcedure<? super T> objectIntProcedure)
Iterates over the section of the list covered by the specified inclusive indexes. |
| public static <T> T | |
| public static <T> T | |
| public static <T, V> FastListMultimap | |
| public static <T, V, R extends MutableMultimap | |
| public static <T, V> FastListMultimap | |
| public static <T, V, R extends MutableMultimap | |
| public static <T, V> MutableMapIterable | |
| public static <T, V, R extends MutableMapIterable | |
| public static <T> int | indexOf(T[] objectArray, T elem)
Searches for the first occurrence of the given argument, testing
for equality using the |
| public static <T, IV> IV | injectInto(IV injectValue, T[] objectArray, Function2<? super IV, ? super T, ? extends IV> function)
|
| public static <T> int | |
| public static <T> long | |
| public static <T> float | |
| public static <T> double | |
| public static <T, IV, P> IV | injectIntoWith(IV injectValue, T[] objectArray, Function3<? super IV, ? super T, ? super P, ? extends IV> function, P parameter)
|
| public static boolean | |
| public static <T> String | |
| public static <T> String | |
| public static <T> String | |
| public static <T> T | |
| public static <T> T | |
| public static <T, V extends Comparable | |
| public static <T> T | |
| public static <T> T | |
| public static <T, V extends Comparable | |
| public static <T> boolean | |
| public static <T, P> boolean | |
| public static boolean | |
| public static <T> PartitionFastList | |
| public static <T, P> PartitionFastList | |
| public static <T> MutableList | |
| public static <T, R extends Collection | |
| public static <T, P> MutableList | |
| public static <T, P, R extends Collection | rejectWith(T[] objectArray, Predicate2<? super T, ? super P> predicate, P parameter, R targetCollection)
|
| public static <T> void | |
| public static <T> MutableList | |
| public static <T, R extends Collection | |
| public static <T, P> Twin | selectAndRejectWith(T[] objectArray, Predicate2<? super T, ? super P> predicate, P parameter)
Deprecated
since 6.0 use
RichIterable#partitionWith(Predicate2, Object) instead.
|
| public static <T> FastList | |
| public static <T, P> MutableList | |
| public static <T, P, R extends Collection | selectWith(T[] objectArray, Predicate2<? super T, ? super P> predicate, P parameter, R targetCollection)
|
| public static int | |
| public static <T> void | sort(T[] array, int size, Comparator<? super T> comparator)
Deprecated
in 7.0.
Inline calls to appropriate Arrays.sort() method which now uses TimSort by default since Java 8. |
| public static <V, T> MutableMap | sumByBigDecimal(T[] array, Function<? super T, ? extends V> groupBy, Function<? super T, BigDecimal> function)
|
| public static <V, T> MutableMap | sumByBigInteger(T[] array, Function<? super T, ? extends V> groupBy, Function<? super T, BigInteger> function)
|
| public static <V, T> ObjectDoubleMap | sumByDouble(T[] array, Function<? super T, ? extends V> groupBy, DoubleFunction<? super T> function)
|
| public static <V, T> ObjectDoubleMap | |
| public static <V, T> ObjectLongMap | |
| public static <V, T> ObjectLongMap | |
| public static <T> BigDecimal | |
| public static <T> BigInteger | |
| public static <T> double | |
| public static <T> double | |
| public static <T> long | |
| public static <T> long | |
| public static <T> MutableList | |
| public static <T, R extends Collection | |
| public static <K, V> MutableMap | |
| public static <T, K, V> MutableMap | |
| public static <X, Y> MutableList | |
| public static <X, Y, R extends Collection | |
| public static <T> MutableList | |
| public static <T, R extends Collection |