Package org.apache.commons.collections
Interface KeyValue
-
- All Known Implementing Classes:
AbstractKeyValue
,AbstractMapEntry
,AbstractMapEntryDecorator
,DefaultKeyValue
,DefaultMapEntry
,DefaultMapEntry
,SingletonMap
,TiedMapEntry
,UnmodifiableMapEntry
@Deprecated(since="2021-04-30") public interface KeyValue
Deprecated.Commons Collections 3 is in maintenance mode. Commons Collections 4 should be used instead.Defines a simple key value pair.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.
- Since:
- Commons Collections 3.0
-
-
Method Summary
All Methods Instance Methods Abstract Methods Deprecated Methods Modifier and Type Method Description java.lang.Object
getKey()
Deprecated.Gets the key from the pair.java.lang.Object
getValue()
Deprecated.Gets the value from the pair.
-