Package org.eclipse.collections.api.map.sorted
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.
-
InterfacesClassDescriptionImmutableSortedMap<K,
V> An ImmutableSortedMap is different from a JCF SortedMap because it has no mutating methods.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.