public class WeakValueHashMap extends AbstractMap
Note that this is distinct from the standard library class,
WeakHashMap
which has weak keys.
AbstractMap.SimpleEntry<K,V>, AbstractMap.SimpleImmutableEntry<K,V>
Constructor and Description |
---|
WeakValueHashMap() |
Modifier and Type | Method and Description |
---|---|
boolean |
containsKey(Object o) |
Set |
entrySet() |
Object |
get(Object key) |
Object |
put(Object key,
Object value) |
public WeakValueHashMap()
public Object put(Object key, Object value)
put
in interface Map
put
in class AbstractMap
public Object get(Object key)
get
in interface Map
get
in class AbstractMap
public boolean containsKey(Object o)
containsKey
in interface Map
containsKey
in class AbstractMap
Copyright © 2014 BioJava. All rights reserved.