org.opennms.core.soa.support
Interface MultivaluedMap<K,V>

All Superinterfaces:
Map<K,Set<V>>
All Known Implementing Classes:
MultivaluedMapImpl, MultivaluedMapImpl.SynchronizedMultivaluedMap

public interface MultivaluedMap<K,V>
extends Map<K,Set<V>>

MultivaluedMap

Version:
$Id: $
Author:
brozow

Nested Class Summary
 
Nested classes/interfaces inherited from interface java.util.Map
Map.Entry<K,V>
 
Method Summary
 void add(K key, V value)
          add
 Set<V> getCopy(K key)
          getCopy
 boolean remove(K key, V value)
          remove
 
Methods inherited from interface java.util.Map
clear, containsKey, containsValue, entrySet, equals, get, hashCode, isEmpty, keySet, put, putAll, remove, size, values
 

Method Detail

add

void add(K key,
         V value)

add

Type Parameters:
K - a K object.
V - a V object.
Parameters:
key - a K object.
value - a V object.

remove

boolean remove(K key,
               V value)

remove

Parameters:
key - a K object.
value - a V object.
Returns:
a boolean.

getCopy

Set<V> getCopy(K key)

getCopy

Parameters:
key - a K object.
Returns:
a Set object.


Copyright © 2011. All Rights Reserved.