Class std.cont.KeyValuePair
Synopsis
public class KeyValuePair< K, V >
Represents a key-value pair, used for example when iterating maps.
Fields
Constructors
public KeyValuePair(K key,V value);
Construct the pair with the specified key and value.
Methods
public K getKey();
Get the key.
public V getValue();
Get the value.
public void setValue(V value);
Set the value.