Oracle Fusion Middleware Java API Reference for Oracle Extension SDK Reference
11g Release 1 (11.1.1)

E13403-04

oracle.ide.util
Class MultiMap<K,V>

java.lang.Object
  extended by oracle.ide.util.MultiMap<K,V>

Deprecated. since 11.1.1 Use MultiMap instead.

public final class MultiMap<K,V>
extends java.lang.Object

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

MultiMap

public MultiMap()
Deprecated. 

MultiMap

public MultiMap(MultiMap<K,V> other)
Deprecated. 
Creates a clone of [other] with a distinct list of values associated with the key.

Parameters:
other - The source

MultiMap

public MultiMap(int size)
Deprecated. 
Method Detail

add

public void add(K key,
                V value)
Deprecated. 

addAll

public void addAll(K key,
                   java.util.Collection<? extends V> values)
Deprecated. 

get

public java.util.List<V> get(K key)
Deprecated. 

getOrCreate

public java.util.List<V> getOrCreate(K key)
Deprecated. 
Gets the list that corresponds to the key. If the list does not exist, it creates a new empty one.

Parameters:
key -
Returns:
a non-null List

remove

public java.util.List<V> remove(K key)
Deprecated. 

remove

public boolean remove(K key,
                      V value)
Deprecated. 

keySet

public java.util.Set<K> keySet()
Deprecated. 

Oracle Fusion Middleware Java API Reference for Oracle Extension SDK Reference
11g Release 1 (11.1.1)

E13403-04

Copyright © 1997, 2010, Oracle. All rights reserved.