java.lang.Object | |
↳ | org.apache.commons.collections.keyvalue.AbstractKeyValue |
Known Direct Subclasses |
Known Indirect Subclasses |
Abstract pair class to assist with creating KeyValue
and java.util.Map.Entry Map.Entry implementations.
Fields | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
key | The key | ||||||||||
value | The value |
Protected Constructors | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Constructs a new pair with the specified key and given value.
|
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Gets the key from the pair.
| |||||||||||
Gets the value from the pair.
| |||||||||||
Gets a debugging String view of the pair.
|
[Expand]
Inherited Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
From class
java.lang.Object
| |||||||||||
From interface
org.apache.commons.collections.KeyValue
|
Constructs a new pair with the specified key and given value.
key | the key for the entry, may be null |
---|---|
value | the value for the entry, may be null |
Gets a debugging String view of the pair.