Interface StringMap

All Superinterfaces:
ReadOnlyStringMap, Serializable
All Known Subinterfaces:
IndexedStringMap
All Known Implementing Classes:
SortedArrayStringMap

public interface StringMap extends ReadOnlyStringMap
Exposes methods to add and remove key-value pairs to and from ReadOnlyStringMap.
Since:
2.7
See Also:
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    Removes all key-value pairs from this collection.
    boolean
    Indicates whether some other object is "equal to" this one.
    void
    Makes this collection immutable.
    int
    Returns a hash code value for the object.
    boolean
    Returns true if this object has been frozen, false otherwise.
    void
    Copies all key-value pairs from the specified ReadOnlyStringMap into this StringMap.
    void
    putValue(String key, Object value)
    Puts the specified key-value pair into the collection.
    void
    Removes the key-value pair for the specified key from this data structure.

    Methods inherited from interface org.apache.logging.log4j.util.ReadOnlyStringMap

    containsKey, forEach, forEach, getValue, isEmpty, size, toMap