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 of MutableSortedMap
.
SortedMapIterable
- a map which contains elements in sorted order.
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.
|
Copyright © 2004–2019. All rights reserved.