Interface IndexedStringMap

All Superinterfaces:
IndexedReadOnlyStringMap, ReadOnlyStringMap, Serializable, StringMap
All Known Implementing Classes:
SortedArrayStringMap

public interface IndexedStringMap extends IndexedReadOnlyStringMap, StringMap
An extension of StringMap that imposes a total ordering on its keys. The map is ordered according to the natural ordering of its keys. This order is reflected when consuming the key-value pairs with a BiConsumer or a TriConsumer.

This interface views all key-value pairs as a sequence ordered by key, and allows keys and values to be accessed by their index in the sequence.

Since:
2.8
See Also: