This project has retired. For details please refer to its
Attic page.
WeakBidiMap (Clerezza - Reactor build (root) 0.3-SNAPSHOT API)
-
- All Implemented Interfaces:
- Map<K,V>, org.wymiwyg.commons.util.collections.BidiMap<K,V>
public class WeakBidiMap<K,V>
extends Object
implements org.wymiwyg.commons.util.collections.BidiMap<K,V>
Like a WeakHashMap but Bidirectional. Only weak references are kept to the
key
- Author:
- reto
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface java.util.Map
Map.Entry<K,V>
-
Method Summary
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
-
Constructor Detail
-
WeakBidiMap
public WeakBidiMap()
-
Method Detail
-
getKey
public K getKey(V value)
- Specified by:
getKey
in interface org.wymiwyg.commons.util.collections.BidiMap<K,V>
-
size
public int size()
- Specified by:
size
in interface Map<K,V>
-
isEmpty
public boolean isEmpty()
- Specified by:
isEmpty
in interface Map<K,V>
-
clear
public void clear()
- Specified by:
clear
in interface Map<K,V>
Copyright © 2014 The Apache Software Foundation. All Rights Reserved.