| 
 | Oracle Fusion Middleware Java API Reference for Oracle Extension SDK Reference 11g Release 1 (11.1.1.6.0) E13403-07 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectoracle.ide.util.MultiMap<K,V>
MultiMap instead.
public final class MultiMap<K,V>
MultiMap maps a key to a list of values.
| Constructor Summary | |
|---|---|
| MultiMap()Deprecated. | |
| MultiMap(int size)Deprecated. | |
| MultiMap(MultiMap<K,V> other)Deprecated. Creates a clone of [other] with a distinct list of values associated with the key. | |
| Method Summary | |
|---|---|
|  void | add(K key,
    V value)Deprecated. | 
|  void | addAll(K key,
       java.util.Collection<? extends V> values)Deprecated. | 
|  java.util.List<V> | get(K key)Deprecated. | 
|  java.util.List<V> | getOrCreate(K key)Deprecated. Gets the list that corresponds to the key. | 
|  java.util.Set<K> | keySet()Deprecated. | 
|  java.util.List<V> | remove(K key)Deprecated. | 
|  boolean | remove(K key,
       V value)Deprecated. | 
| Methods inherited from class java.lang.Object | 
|---|
| clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait | 
| Constructor Detail | 
|---|
public MultiMap()
public MultiMap(MultiMap<K,V> other)
other - The sourcepublic MultiMap(int size)
| Method Detail | 
|---|
public void add(K key,
                V value)
public void addAll(K key,
                   java.util.Collection<? extends V> values)
public java.util.List<V> get(K key)
public java.util.List<V> getOrCreate(K key)
key - 
public java.util.List<V> remove(K key)
public boolean remove(K key,
                      V value)
public java.util.Set<K> keySet()
| 
 | Oracle Fusion Middleware Java API Reference for Oracle Extension SDK Reference 11g Release 1 (11.1.1.6.0) E13403-07 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||