net.cscott.jutil
public class PairMapEntry<K,V> extends AbstractMapEntry<K,V>
null as a key or value will not cause this class
or AbstractMapEntry to fail, but be warned that
several java.util.Map implementations do not like
nulls in their internal structures.
Version: $Id: PairMapEntry.java,v 1.3 2006-10-30 20:14:41 cananian Exp $
| Constructor Summary | |
|---|---|
| PairMapEntry(K key, V value) Creates a PairMapEntry. | |
| Method Summary | |
|---|---|
| K | getKey() |
| V | getValue() |
| protected K | setKey(K newKey) For use in subclass implementations *only*. |
| V | setValue(V newValue) |