public class AttributeMapEntry<V> extends java.lang.Object implements java.util.Map.Entry<AttributeKey,V>
Modifier and Type | Field and Description |
---|---|
private AttributeKey |
key |
private V |
value |
Constructor and Description |
---|
AttributeMapEntry(AttributeKey key,
V value) |
private final AttributeKey key
private final V value
public AttributeMapEntry(AttributeKey key, V value)
public AttributeKey getKey()
getKey
in interface java.util.Map.Entry<AttributeKey,V>
public V getValue()
getValue
in interface java.util.Map.Entry<AttributeKey,V>
public V setValue(V value)
setValue
in interface java.util.Map.Entry<AttributeKey,V>
public java.lang.String toString()
toString
in class java.lang.Object