Class AttributesMap

All Implemented Interfaces:
Attributes, Serializable, Cloneable, Map<AttributeKey<?>,Object>

public final class AttributesMap extends HashMap<AttributeKey<?>,Object> implements Attributes
A map with a fixed capacity that drops attributes when the map gets full, and which truncates string and array string attribute values to the lengthLimit.

This class is internal and is hence not for public use. Its APIs are unstable and can change at any time.

See Also:
  • Field Details

    • serialVersionUID

      private static final long serialVersionUID
      See Also:
    • capacity

      private final long capacity
    • lengthLimit

      private final int lengthLimit
    • totalAddedValues

      private int totalAddedValues
  • Constructor Details

    • AttributesMap

      private AttributesMap(long capacity, int lengthLimit)
  • Method Details