Class | Description |
---|---|
EntryValueComparator<K,V extends Comparable<V>> |
A comparator that sorts
Map.Entry by their values. |
MapOfLists<E,T> | |
Pair<S,T> |
A class that holds two typed objects together; mostly useful to return multiple values from a method, without having
to make a dedicated class, or using an untyped collection or array that would require casting the contents in the
calling method.
|
Quadruple<S,T,U,V> | |
SmallestElementSet<E extends Comparable<E>> |
A subclass of
TreeSet that keeps only the smallest elements, up to a specified number of maximum elements. |
Triple<S,T,U> |
A class that holds three typed objects together, similar to the
Pair . |