Index
All Classes and Interfaces|All Packages|Constant Field Values|Serialized Form
K
- keyBasedComparator(Comparators.KeyProvider<? super T, K>) - Static method in class org.tquadrat.foundation.util.Comparators
-
Returns a comparator that generates a sort key from the elements before sorting them.
The implementation of this comparator generates the sort keys for each and every comparison. - keyBasedComparator(Comparators.KeyProvider<T, K>, Comparator<K>, boolean) - Static method in class org.tquadrat.foundation.util.Comparators
-
A comparator that generates a sort key from the elements before sorting them.
As it is not very efficient to generate the sort keys for each and every comparison, it is possible to cache them. - KeyBasedComparator<T,
K> - Class in org.tquadrat.foundation.util.internal -
Sometimes a special sort key is used to order elements, and instead of hiding the generation of that key inside the method
compare()
of an implementation ofComparator
, this implementation expects an instance ofComparators.KeyProvider
as an argument to its constructor. - KeyBasedComparator(Comparators.KeyProvider<T, K>, Comparator<K>, boolean) - Constructor for class org.tquadrat.foundation.util.internal.KeyBasedComparator
-
Creates a new
KeyBasedComparator
instance. - keySet() - Method in class org.tquadrat.foundation.util.internal.LazyMapImpl
All Classes and Interfaces|All Packages|Constant Field Values|Serialized Form