com.sun.xml.bind.v2.schemagen
final class MultiMap<K extends Comparable<K>,V> extends TreeMap<K,V>
When multiple values are stored, however, this class doesn't let the caller see individual values, and instead it returns a specially designated "MANY" value, which is given as a parameter to the constructor.
Constructor Summary | |
---|---|
MultiMap(V many) |
Method Summary | |
---|---|
V | put(K key, V value) |
void | putAll(Map<? extends K,? extends V> map) |