Uses of Class
org.djutils.immutablecollections.ImmutableMap.ImmutableEntry
Package
Description
Contains a set of immutable collection interfaces and wrapper implementations.
-
Uses of ImmutableMap.ImmutableEntry in org.djutils.immutablecollections
Modifier and TypeMethodDescriptionstatic <K extends Comparable<? super K>,
V>
Comparator<ImmutableMap.ImmutableEntry<K,V>> ImmutableMap.ImmutableEntry.comparingByKey()
Returns a comparator that comparesImmutableMap.ImmutableEntry
in natural order on key.static <K,
V> Comparator<ImmutableMap.ImmutableEntry<K, V>> ImmutableMap.ImmutableEntry.comparingByKey
(Comparator<? super K> cmp) Returns a comparator that comparesImmutableMap.ImmutableEntry
by key using the givenComparator
.static <K,
V extends Comparable<? super V>>
Comparator<ImmutableMap.ImmutableEntry<K,V>> ImmutableMap.ImmutableEntry.comparingByValue()
Returns a comparator that comparesImmutableMap.ImmutableEntry
in natural order on value.static <K,
V> Comparator<ImmutableMap.ImmutableEntry<K, V>> ImmutableMap.ImmutableEntry.comparingByValue
(Comparator<? super V> cmp) Returns a comparator that comparesImmutableMap.ImmutableEntry
by value using the givenComparator
.ImmutableHashMap.entrySet()
ImmutableLinkedHashMap.entrySet()
ImmutableMap.entrySet()
Returns aSet
view of the entries contained in this map.ImmutableTreeMap.entrySet()