Package org.apache.logging.log4j.util
Interface IndexedStringMap
- All Superinterfaces:
IndexedReadOnlyStringMap
,ReadOnlyStringMap
,Serializable
,StringMap
- All Known Implementing Classes:
SortedArrayStringMap
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:
-
Method Summary
Methods inherited from interface org.apache.logging.log4j.util.IndexedReadOnlyStringMap
getKeyAt, getValueAt, indexOfKey
Methods inherited from interface org.apache.logging.log4j.util.ReadOnlyStringMap
containsKey, forEach, forEach, getValue, isEmpty, size, toMap