Uses of Interface
org.djutils.immutablecollections.ImmutableMap
Package
Description
Contains a set of immutable collection interfaces and wrapper implementations.
-
Uses of ImmutableMap in org.djutils.immutablecollections
Modifier and TypeInterfaceDescriptioninterface
AImmutableSortedMap
extended with navigation methods reporting closest matches for given search targets.interface
ImmutableSortedMap<K,
V> A SortedMap interface without the methods that can change it.Modifier and TypeClassDescriptionclass
ImmutableAbstractMap<K,
V> An abstract base class for an immutable wrapper for a Map.class
ImmutableHashMap<K,
V> An immutable wrapper for a HashMap.class
An immutable wrapper for a LinkedHashMap.class
ImmutableTreeMap<K,
V> An immutable wrapper for a TreeMap.Modifier and TypeMethodDescriptionstatic <T,
V> ImmutableMap<T, V> ImmutableCollections.emptyImmutableMap()
Return an immutable empty map.static <K,
V> ImmutableMap<K, V> ImmutableMap.of()
Return an empty ImmutableMap, backed by a LinkedHashMap.static <K,
V> ImmutableMap<K, V> ImmutableMap.of
(K k1, V v1) Return an ImmutableMap with 1 entry, backed by a LinkedHashMap.static <K,
V> ImmutableMap<K, V> ImmutableMap.of
(K k1, V v1, K k2, V v2) Return an ImmutableMap with 2 entries, backed by a LinkedHashMap.static <K,
V> ImmutableMap<K, V> ImmutableMap.of
(K k1, V v1, K k2, V v2, K k3, V v3) Return an ImmutableMap with 3 entries, backed by a LinkedHashMap.static <K,
V> ImmutableMap<K, V> ImmutableMap.of
(K k1, V v1, K k2, V v2, K k3, V v3, K k4, V v4) Return an ImmutableMap with 4 entries, backed by a LinkedHashMap.static <K,
V> ImmutableMap<K, V> ImmutableMap.of
(K k1, V v1, K k2, V v2, K k3, V v3, K k4, V v4, K k5, V v5) Return an ImmutableMap with 5 entries, backed by a LinkedHashMap.static <K,
V> ImmutableMap<K, V> ImmutableMap.of
(K k1, V v1, K k2, V v2, K k3, V v3, K k4, V v4, K k5, V v5, K k6, V v6) Return an ImmutableMap with 6 entries, backed by a LinkedHashMap.static <K,
V> ImmutableMap<K, V> ImmutableMap.of
(K k1, V v1, K k2, V v2, K k3, V v3, K k4, V v4, K k5, V v5, K k6, V v6, K k7, V v7) Return an ImmutableMap with 7 entries, backed by a LinkedHashMap.static <K,
V> ImmutableMap<K, V> ImmutableMap.of
(K k1, V v1, K k2, V v2, K k3, V v3, K k4, V v4, K k5, V v5, K k6, V v6, K k7, V v7, K k8, V v8) Return an ImmutableMap with 8 entries, backed by a LinkedHashMap.