Class CharacteristicMap.Entry

All Implemented Interfaces:
Map.Entry<String,AbstractAttribute<?>>
Enclosing class:
CharacteristicMap

private final class CharacteristicMap.Entry extends AbstractMapEntry<String,AbstractAttribute<?>>
An entry returned by the AbstractMap.entrySet() iterator. The key and value are never null, even in case of concurrent modification. This entry supports the setValue(Attribute) operation.
  • Field Details

    • index

      private final int index
      Index of the attribute characteristics represented by this entry.
    • value

      private AbstractAttribute<?> value
      The current attribute value, which is guaranteed to be non-null.
  • Constructor Details

    • Entry

      Entry(int index, AbstractAttribute<?> value)
      Creates a new entry for the characteristic at the given index.
  • Method Details