org.eclipse.osgi.internal.serviceregistry
Class ShrinkableValueCollectionMap<K,V>

java.lang.Object
  extended by java.util.AbstractMap<K,Collection<V>>
      extended by org.eclipse.osgi.internal.serviceregistry.ShrinkableValueCollectionMap<K,V>
All Implemented Interfaces:
Map<K,Collection<V>>

public class ShrinkableValueCollectionMap<K,V>
extends AbstractMap<K,Collection<V>>
implements Map<K,Collection<V>>


Nested Class Summary
 
Nested classes/interfaces inherited from class java.util.AbstractMap
AbstractMap.SimpleEntry<K,V>, AbstractMap.SimpleImmutableEntry<K,V>
 
Constructor Summary
ShrinkableValueCollectionMap(Map<? extends K,? extends Set<? extends Map.Entry<?,? extends V>>> m)
           
 
Method Summary
 void clear()
           
 boolean containsKey(Object key)
           
 boolean containsValue(Object value)
           
 Set<Map.Entry<K,Collection<V>>> entrySet()
           
 Collection<V> get(Object key)
           
 boolean isEmpty()
           
 Collection<V> remove(Object key)
           
 int size()
           
 
Methods inherited from class java.util.AbstractMap
clone, equals, hashCode, keySet, put, putAll, toString, values
 
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface java.util.Map
equals, hashCode, keySet, put, putAll, values
 

Constructor Detail

ShrinkableValueCollectionMap

public ShrinkableValueCollectionMap(Map<? extends K,? extends Set<? extends Map.Entry<?,? extends V>>> m)
Method Detail

clear

public void clear()
Specified by:
clear in interface Map<K,Collection<V>>
Overrides:
clear in class AbstractMap<K,Collection<V>>

containsKey

public boolean containsKey(Object key)
Specified by:
containsKey in interface Map<K,Collection<V>>
Overrides:
containsKey in class AbstractMap<K,Collection<V>>

containsValue

public boolean containsValue(Object value)
Specified by:
containsValue in interface Map<K,Collection<V>>
Overrides:
containsValue in class AbstractMap<K,Collection<V>>

entrySet

public Set<Map.Entry<K,Collection<V>>> entrySet()
Specified by:
entrySet in interface Map<K,Collection<V>>
Specified by:
entrySet in class AbstractMap<K,Collection<V>>

get

public Collection<V> get(Object key)
Specified by:
get in interface Map<K,Collection<V>>
Overrides:
get in class AbstractMap<K,Collection<V>>

isEmpty

public boolean isEmpty()
Specified by:
isEmpty in interface Map<K,Collection<V>>
Overrides:
isEmpty in class AbstractMap<K,Collection<V>>

remove

public Collection<V> remove(Object key)
Specified by:
remove in interface Map<K,Collection<V>>
Overrides:
remove in class AbstractMap<K,Collection<V>>

size

public int size()
Specified by:
size in interface Map<K,Collection<V>>
Overrides:
size in class AbstractMap<K,Collection<V>>


Copyright © 2007–2014 The Apache Software Foundation. All rights reserved.