Uses of Interface
com.gengoai.function.SerializableComparator
-
Packages that use SerializableComparator Package Description com.gengoai.collection Contains collections useful for Data Science and continence methods for creating, wrapping, writing, and reading of existing collection classes.com.gengoai.collection.multimap com.gengoai.stream A unified stream interface that can work across Java and Spark streams.com.gengoai.stream.local com.gengoai.stream.spark -
-
Uses of SerializableComparator in com.gengoai.collection
Methods in com.gengoai.collection that return SerializableComparator Modifier and Type Method Description static <T> SerializableComparator<T>
Sorting. hashCodeComparator()
Compares two objects based on their hashcode.static <E> SerializableComparator<E>
Sorting. natural()
Natural serializable comparator. -
Uses of SerializableComparator in com.gengoai.collection.multimap
Constructors in com.gengoai.collection.multimap with parameters of type SerializableComparator Constructor Description TreeSetMultimap(SerializableComparator<V> comparator)
Instantiates a new TreeSetMultimap -
Uses of SerializableComparator in com.gengoai.stream
Methods in com.gengoai.stream with parameters of type SerializableComparator Modifier and Type Method Description Optional<Map.Entry<T,U>>
MPairStream. max(SerializableComparator<Map.Entry<T,U>> comparator)
Returns the max item in the stream using the given comparator to compare items.Optional<T>
MStream. max(SerializableComparator<? super T> comparator)
Returns the max item in the stream using the given comparator to compare items.default Optional<Map.Entry<T,U>>
MPairStream. maxByKey(SerializableComparator<? super T> comparator)
Returns the maximum entry in the stream comparing on keydefault Optional<Map.Entry<T,U>>
MPairStream. maxByValue(SerializableComparator<? super U> comparator)
Returns the maximum entry in the stream comparing on valueOptional<Map.Entry<T,U>>
MPairStream. min(SerializableComparator<Map.Entry<T,U>> comparator)
Returns the min item in the stream requiring that the items be comparable.Optional<T>
MStream. min(SerializableComparator<? super T> comparator)
Returns the min item in the stream using the given comparator to compare items.default Optional<Map.Entry<T,U>>
MPairStream. minByKey(SerializableComparator<? super T> comparator)
Returns the minimum entry in the stream comparing on keydefault Optional<Map.Entry<T,U>>
MPairStream. minByValue(SerializableComparator<? super U> comparator)
Returns the minimum entry in the stream comparing on valueMPairStream<T,U>
MPairStream. sortByKey(SerializableComparator<T> comparator)
Sorts the items in the stream by key using the given comparator. -
Uses of SerializableComparator in com.gengoai.stream.local
Methods in com.gengoai.stream.local with parameters of type SerializableComparator Modifier and Type Method Description Optional<Map.Entry<K,V>>
AbstractLocalMPairStream. max(@NonNull SerializableComparator<Map.Entry<K,V>> comparator)
Optional<Map.Entry<K,V>>
AbstractLocalMPairStream. min(SerializableComparator<Map.Entry<K,V>> comparator)
MPairStream<K,V>
AbstractLocalMPairStream. sortByKey(@NonNull SerializableComparator<K> comparator)
-
Uses of SerializableComparator in com.gengoai.stream.spark
Methods in com.gengoai.stream.spark with parameters of type SerializableComparator Modifier and Type Method Description Optional<Map.Entry<T,U>>
SparkPairStream. max(SerializableComparator<Map.Entry<T,U>> comparator)
Optional<T>
SparkStream. max(SerializableComparator<? super T> comparator)
Optional<Map.Entry<T,U>>
SparkPairStream. min(SerializableComparator<Map.Entry<T,U>> comparator)
Optional<T>
SparkStream. min(SerializableComparator<? super T> comparator)
MPairStream<T,U>
SparkPairStream. sortByKey(SerializableComparator<T> comparator)
-