Uses of Interface
org.eclipse.collections.api.block.SerializableComparator
| Package | Description |
|---|---|
| org.eclipse.collections.impl.block.comparator |
This package contains implementations of the
SerializableComparator interface. |
| org.eclipse.collections.impl.block.comparator.primitive |
This package contains implementations of the
SerializableComparator interface to compare primitive double, int and long. |
| org.eclipse.collections.impl.block.factory |
This package contains factory implementations for
Function, Predicate, SerializableComparator and Procedure. |
-
Uses of SerializableComparator in org.eclipse.collections.impl.block.comparator
Classes in org.eclipse.collections.impl.block.comparator that implement SerializableComparator Modifier and Type Class Description classFunctionComparator<T,V>SimpleComparatorthat uses aFunctionto select a value from the underlying object and compare it against a known value to determine ordering. -
Uses of SerializableComparator in org.eclipse.collections.impl.block.comparator.primitive
Classes in org.eclipse.collections.impl.block.comparator.primitive that implement SerializableComparator Modifier and Type Class Description classBooleanFunctionComparator<T>A Comparator which takes a BooleanFunction to compare a primitive boolean value retrieved from an object.classByteFunctionComparator<T>A Comparator which takes a ByteFunction to compare a primitive byte value retrieved from an object.classCharFunctionComparator<T>A Comparator which takes a CharFunction to compare a primitive char value retrieved from an object.classDoubleFunctionComparator<T>A Comparator which takes a DoubleFunction to compare a primitive double value retrieved from an object.classFloatFunctionComparator<T>A Comparator which takes a FloatFunction to compare a primitive float value retrieved from an object.classIntFunctionComparator<T>A Comparator which takes a IntFunction to compare a primitive int value retrieved from an object.classLongFunctionComparator<T>A Comparator which takes a LongFunction to compare a primitive long value retrieved from an object.classShortFunctionComparator<T>A Comparator which takes a ShortFunction to compare a primitive short value retrieved from an object. -
Uses of SerializableComparator in org.eclipse.collections.impl.block.factory
Methods in org.eclipse.collections.impl.block.factory that return SerializableComparator Modifier and Type Method Description static SerializableComparator<Collection<?>>Comparators. ascendingCollectionSizeComparator()static <T> SerializableComparator<T>Comparators. byBooleanFunction(BooleanFunction<T> function)static <T> SerializableComparator<T>Comparators. byByteFunction(ByteFunction<T> function)static <T> SerializableComparator<T>Comparators. byCharFunction(CharFunction<T> function)static <T> SerializableComparator<T>Comparators. byDoubleFunction(DoubleFunction<T> function)static <T> SerializableComparator<Pair<T,?>>Comparators. byFirstOfPair(Comparator<? super T> comparator)Creates a comparator for pairs by using an existing comparator that only compares the first element of the pairstatic <T> SerializableComparator<T>Comparators. byFloatFunction(FloatFunction<T> function)static <T, V extends Comparable<? super V>>
SerializableComparator<T>Comparators. byFunction(Function<? super T,? extends V> function)static <T, V> SerializableComparator<T>Comparators. byFunction(Function<? super T,? extends V> function, Comparator<V> comparator)static <T, V extends Comparable<? super V>>
SerializableComparator<T>Comparators. byFunctionNullsFirst(Function<? super T,? extends V> function)static <T, V extends Comparable<? super V>>
SerializableComparator<T>Comparators. byFunctionNullsLast(Function<? super T,? extends V> function)static <T> SerializableComparator<T>Comparators. byIntFunction(IntFunction<T> function)static <T> SerializableComparator<T>Comparators. byLongFunction(LongFunction<T> function)static <T> SerializableComparator<Pair<?,T>>Comparators. bySecondOfPair(Comparator<? super T> comparator)Creates a comparator for pairs by using an existing comparator that only compares the second element of the pairstatic <T> SerializableComparator<T>Comparators. byShortFunction(ShortFunction<T> function)static <T> SerializableComparator<T>Comparators. chain(Comparator<T>... comparators)static <T> SerializableComparator<T>Comparators. comparableComparator()static SerializableComparator<Collection<?>>Comparators. descendingCollectionSizeComparator()static <T, V extends Comparable<? super V>>
SerializableComparator<T>Comparators. fromFunctions(Function<? super T,? extends V> one)static <T, V1 extends Comparable<? super V1>, V2 extends Comparable<? super V2>>
SerializableComparator<T>Comparators. fromFunctions(Function<? super T,? extends V1> one, Function<? super T,? extends V2> two)static <T, V1 extends Comparable<? super V1>, V2 extends Comparable<? super V2>, V3 extends Comparable<? super V3>>
SerializableComparator<T>Comparators. fromFunctions(Function<? super T,? extends V1> one, Function<? super T,? extends V2> two, Function<? super T,? extends V3> three)static <T> SerializableComparator<T>Comparators. naturalOrder()Uses the natural compareTo methods of the objects which will throw if there are any nulls.static <T> SerializableComparator<SortedSetIterable<T>>Comparators. powerSet()static <T> SerializableComparator<T>Comparators. reverse(Comparator<T> comparator)static <T> SerializableComparator<T>Comparators. reverseNaturalOrder()Uses the natural compareTo methods of the objects which will throw if there are any nulls.static <T> SerializableComparator<T>Comparators. safeNullsHigh(Comparator<T> notNullSafeComparator)static <T> SerializableComparator<T>Comparators. safeNullsLow(Comparator<T> notNullSafeComparator)static <T> SerializableComparator<T>Functions. toBooleanComparator(BooleanFunction<T> function)static <T> SerializableComparator<T>Functions. toByteComparator(ByteFunction<T> function)static <T> SerializableComparator<T>Functions. toCharComparator(CharFunction<T> function)static <T> SerializableComparator<T>Functions. toDoubleComparator(DoubleFunction<T> function)static <T> SerializableComparator<T>Functions. toFloatComparator(FloatFunction<T> function)static <T> SerializableComparator<T>Functions. toIntComparator(IntFunction<T> function)static <T> SerializableComparator<T>Functions. toLongComparator(LongFunction<T> function)static <T> SerializableComparator<T>Functions. toShortComparator(ShortFunction<T> function)