Uses of Interface
org.djutils.immutablecollections.ImmutableSortedMap
Package
Description
Contains a set of immutable collection interfaces and wrapper implementations.
-
Uses of ImmutableSortedMap in org.djutils.immutablecollections
Modifier and TypeInterfaceDescriptioninterface
AImmutableSortedMap
extended with navigation methods reporting closest matches for given search targets.Modifier and TypeMethodDescriptionReturns a view of the portion of this immutable map whose keys are strictly less thantoKey
.final ImmutableSortedMap<K,
V> static <K,
V> ImmutableSortedMap<K, V> ImmutableSortedMap.of()
Return an empty ImmutableSortedMap, backed by a TreeMap.static <K,
V> ImmutableSortedMap<K, V> ImmutableSortedMap.of
(K k1, V v1) Return an ImmutableSortedMap with 1 entry, backed by a TreeMap.static <K,
V> ImmutableSortedMap<K, V> ImmutableSortedMap.of
(K k1, V v1, K k2, V v2) Return an ImmutableSortedMap with 2 entries, backed by a TreeMap.static <K,
V> ImmutableSortedMap<K, V> ImmutableSortedMap.of
(K k1, V v1, K k2, V v2, K k3, V v3) Return an ImmutableSortedMap with 3 entries, backed by a TreeMap.static <K,
V> ImmutableSortedMap<K, V> ImmutableSortedMap.of
(K k1, V v1, K k2, V v2, K k3, V v3, K k4, V v4) Return an ImmutableSortedMap with 4 entries, backed by a TreeMap.static <K,
V> ImmutableSortedMap<K, V> ImmutableSortedMap.of
(K k1, V v1, K k2, V v2, K k3, V v3, K k4, V v4, K k5, V v5) Return an ImmutableSortedMap with 5 entries, backed by a TreeMap.static <K,
V> ImmutableSortedMap<K, V> ImmutableSortedMap.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 ImmutableSortedMap with 6 entries, backed by a TreeMap.static <K,
V> ImmutableSortedMap<K, V> ImmutableSortedMap.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 ImmutableSortedMap with 7 entries, backed by a TreeMap.static <K,
V> ImmutableSortedMap<K, V> ImmutableSortedMap.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 ImmutableSortedMap with 8 entries, backed by a TreeMap.Returns a view of the portion of this immutable map whose keys range fromfromKey
, inclusive, totoKey
, exclusive.final ImmutableSortedMap<K,
V> Returns a view of the portion of this immutable map whose keys are greater than or equal tofromKey
.final ImmutableSortedMap<K,
V>