Package org.eclipse.collections.api.map.sorted
This package contains mutable and immutable sorted map interfaces.
A sorted map is a map which contains elements in sorted order. It allows for faster retrievals.
This package contains 3 interfaces:
-
MutableSortedMap
- an implementation of a JCF Map which provides methods matching the Smalltalk Collection protocol. -
ImmutableSortedMap
- the non-mutable equivalent ofMutableSortedMap
. -
SortedMapIterable
- a map which contains elements in sorted order.
-
Interface Summary Interface Description ImmutableSortedMap<K,V> An ImmutableSortedMap is different than a JCF SortedMap in that it has no mutating methods, but it shares the read-only protocol of a SortedMap.MutableSortedMap<K,V> A MutableSortedMap is similar to a JCF Map but adds additional useful internal iterator methods.SortedMapIterable<K,V> An iterable Map whose elements are sorted.