org.apache.commons.collections
Interface KeyValue
- AbstractDualBidiMap.MapEntry, AbstractHashedMap.HashEntry, AbstractKeyValue, AbstractLinkedMap.LinkEntry, AbstractMapEntry, AbstractMapEntryDecorator, AbstractReferenceMap.ReferenceEntry, BeanMap.MyMapEntry, DefaultKeyValue, DefaultMapEntry, DefaultMapEntry, IdentityMap.IdentityEntry, SingletonMap, TiedMapEntry, UnmodifiableMapEntry
public interface KeyValue
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.
$Revision: 1.4 $ $Date: 2004/02/18 01:15:42 $ Object | getKey() - Gets the key from the pair.
|
Object | getValue() - Gets the value from the pair.
|
getKey
public Object getKey()
Gets the key from the pair.
getValue
public Object getValue()
Gets the value from the pair.
Copyright © 2001-2006 Apache Software Foundation. All Rights Reserved.