Class ImmutableNavigableMap<K,V>

java.lang.Object
java.util.AbstractMap<K,V>
io.permazen.util.AbstractNavigableMap<K,V>
io.permazen.util.ImmutableNavigableMap<K,V>
Type Parameters:
K - key type
V - value type
All Implemented Interfaces:
ConcurrentMap<K,V>, ConcurrentNavigableMap<K,V>, Map<K,V>, NavigableMap<K,V>, SortedMap<K,V>

public class ImmutableNavigableMap<K,V> extends AbstractNavigableMap<K,V> implements ConcurrentNavigableMap<K,V>
An immutable NavigableMap implementation optimized for read efficiency.

Because the keys and values are stored in arrays, it's also possible to get the key and/or value by index; see getKey(), getValue(), and getEntry().