Uses of Interface
org.eclipse.collections.api.block.SerializableComparator
-
Packages that use SerializableComparator Package Description org.eclipse.collections.api.block.comparator org.eclipse.collections.api.block.factory org.eclipse.collections.impl.block.comparator This package contains implementations of theSerializableComparator
interface.org.eclipse.collections.impl.block.comparator.primitive This package contains implementations of theSerializableComparator
interface to compare primitive double, int and long.org.eclipse.collections.impl.block.factory This package contains factory implementations forFunction
,Predicate
,SerializableComparator
andProcedure
. -
-
Uses of SerializableComparator in org.eclipse.collections.api.block.comparator
Classes in org.eclipse.collections.api.block.comparator that implement SerializableComparator Modifier and Type Class Description class
FunctionComparator<T,V>
Fields in org.eclipse.collections.api.block.comparator declared as SerializableComparator Modifier and Type Field Description private SerializableComparator<V>
FunctionComparator. comparator
Constructors in org.eclipse.collections.api.block.comparator with parameters of type SerializableComparator Constructor Description FunctionComparator(Function<? super T,? extends V> function, SerializableComparator<V> comparator)
-
Uses of SerializableComparator in org.eclipse.collections.api.block.factory
Classes in org.eclipse.collections.api.block.factory that implement SerializableComparator Modifier and Type Class Description private static class
SerializableComparators.NaturalOrderComparator<T extends java.lang.Comparable<T>>
private static class
SerializableComparators.ReverseComparator<T>
Fields in org.eclipse.collections.api.block.factory declared as SerializableComparator Modifier and Type Field Description private SerializableComparator<T>
SerializableComparators.ReverseComparator. comparator
private static SerializableComparator<?>
SerializableComparators. NATURAL_ORDER_COMPARATOR
private static SerializableComparator<?>
SerializableComparators. REVERSE_NATURAL_ORDER_COMPARATOR
Methods in org.eclipse.collections.api.block.factory that return SerializableComparator Modifier and Type Method Description static <T,V extends java.lang.Comparable<? super V>>
SerializableComparator<T>SerializableComparators. byFunction(Function<? super T,? extends V> function)
static <T,V>
SerializableComparator<T>SerializableComparators. byFunction(Function<? super T,? extends V> function, SerializableComparator<V> comparator)
static <T> SerializableComparator<T>
SerializableComparators. naturalOrder()
Uses the natural compareTo methods of the objects which will throw if there are any nulls.static <T> SerializableComparator<T>
SerializableComparators. reverse(SerializableComparator<T> comparator)
static <T> SerializableComparator<T>
SerializableComparators. reverseNaturalOrder()
Uses the natural compareTo methods of the objects which will throw if there are any nulls.Methods in org.eclipse.collections.api.block.factory with parameters of type SerializableComparator Modifier and Type Method Description static <T,V>
SerializableComparator<T>SerializableComparators. byFunction(Function<? super T,? extends V> function, SerializableComparator<V> comparator)
static <T> SerializableComparator<T>
SerializableComparators. reverse(SerializableComparator<T> comparator)
Constructors in org.eclipse.collections.api.block.factory with parameters of type SerializableComparator Constructor Description ReverseComparator(SerializableComparator<T> comparator)
-
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 class
FunctionComparator<T,V>
SimpleComparator
that uses aFunction
to 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 class
BooleanFunctionComparator<T>
A Comparator which takes a BooleanFunction to compare a primitive boolean value retrieved from an object.class
ByteFunctionComparator<T>
A Comparator which takes a ByteFunction to compare a primitive byte value retrieved from an object.class
CharFunctionComparator<T>
A Comparator which takes a CharFunction to compare a primitive char value retrieved from an object.class
DoubleFunctionComparator<T>
A Comparator which takes a DoubleFunction to compare a primitive double value retrieved from an object.class
FloatFunctionComparator<T>
A Comparator which takes a FloatFunction to compare a primitive float value retrieved from an object.class
IntFunctionComparator<T>
A Comparator which takes a IntFunction to compare a primitive int value retrieved from an object.class
LongFunctionComparator<T>
A Comparator which takes a LongFunction to compare a primitive long value retrieved from an object.class
ShortFunctionComparator<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
Classes in org.eclipse.collections.impl.block.factory that implement SerializableComparator Modifier and Type Class Description private static class
Comparators.AscendingCollectionSizeComparator
private static class
Comparators.ByFirstOfPairComparator<T>
private static class
Comparators.BySecondOfPairComparator<T>
private static class
Comparators.ChainedComparator<T>
private static class
Comparators.ComparableComparator<T>
private static class
Comparators.DescendingCollectionSizeComparator
private static class
Comparators.NaturalOrderComparator<T extends java.lang.Comparable<T>>
private static class
Comparators.PowerSetComparator<T>
private static class
Comparators.ReverseComparator<T>
private static class
Comparators.SafeNullsHighComparator<T>
private static class
Comparators.SafeNullsLowComparator<T>
Fields in org.eclipse.collections.impl.block.factory declared as SerializableComparator Modifier and Type Field Description private static SerializableComparator<java.util.Collection<?>>
Comparators. ASCENDING_COLLECTION_SIZE_COMPARATOR
private static SerializableComparator<?>
Comparators. COMPARABLE_COMPARATOR
private static SerializableComparator<java.util.Collection<?>>
Comparators. DESCENDING_COLLECTION_SIZE_COMPARATOR
private static SerializableComparator<?>
Comparators. NATURAL_ORDER_COMPARATOR
private static SerializableComparator<?>
Comparators. POWER_SET_COMPARATOR
private static SerializableComparator<?>
Comparators. REVERSE_NATURAL_ORDER_COMPARATOR
Methods in org.eclipse.collections.impl.block.factory that return SerializableComparator Modifier and Type Method Description static SerializableComparator<java.util.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(java.util.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 java.lang.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, java.util.Comparator<V> comparator)
Original signature accepted a Comparator which may not be Serializable.static <T,V extends java.lang.Comparable<? super V>>
SerializableComparator<T>Comparators. byFunctionNullsFirst(Function<? super T,? extends V> function)
static <T,V extends java.lang.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(java.util.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(java.util.Comparator<T>... comparators)
static <T> SerializableComparator<T>
Comparators. comparableComparator()
static SerializableComparator<java.util.Collection<?>>
Comparators. descendingCollectionSizeComparator()
static <T,V extends java.lang.Comparable<? super V>>
SerializableComparator<T>Comparators. fromFunctions(Function<? super T,? extends V> one)
static <T,V1 extends java.lang.Comparable<? super V1>,V2 extends java.lang.Comparable<? super V2>>
SerializableComparator<T>Comparators. fromFunctions(Function<? super T,? extends V1> one, Function<? super T,? extends V2> two)
static <T,V1 extends java.lang.Comparable<? super V1>,V2 extends java.lang.Comparable<? super V2>,V3 extends java.lang.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)
private static <T,V extends java.lang.Comparable<? super V>>
SerializableComparator<T>Comparators. getPrimitiveFunctionComparator(Function<? super T,? extends V> function)
static <T> SerializableComparator<T>
Comparators. naturalOrder()
Uses the natural compareTo methods of the objects which will throw if there are any nulls.static <T,V extends java.lang.Comparable<? super V>>
SerializableComparator<T>Comparators. originalByFunction(Function<? super T,? extends V> function)
Deprecated.static <T,V>
SerializableComparator<T>Comparators. originalByFunction(Function<? super T,? extends V> function, java.util.Comparator<V> comparator)
Deprecated.static <T> SerializableComparator<T>
Comparators. originalNaturalOrder()
Deprecated.static <T> SerializableComparator<T>
Comparators. originalReverseNaturalOrder()
Deprecated.static <T> SerializableComparator<SortedSetIterable<T>>
Comparators. powerSet()
static <T> SerializableComparator<T>
Comparators. reverse(java.util.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(java.util.Comparator<T> notNullSafeComparator)
static <T> SerializableComparator<T>
Comparators. safeNullsLow(java.util.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)
-