K
- the type of the keyV
- the type of the valueAbstractDualBidiMap.MapEntry
, AbstractHashedMap.HashEntry
, AbstractKeyValue
, AbstractLinkedMap.LinkEntry
, AbstractMapEntry
, AbstractMapEntryDecorator
, AbstractReferenceMap.ReferenceEntry
, DefaultKeyValue
, DefaultMapEntry
, SingletonMap
, TiedMapEntry
, UnmodifiableMapEntry
public interface KeyValue<K,V>
A Map Entry has considerable additional semantics over and above a simple key-value pair. This interface defines the minimum key value, with just the two get methods.
Modifier and Type | Method | Description |
---|---|---|
K |
getKey() |
Gets the key from the pair.
|
V |
getValue() |
Gets the value from the pair.
|
Copyright © 2001-2019 - Apache Software Foundation