|
FlexDoc/Javadoc 2.0 Demo Java Doc |
+-referent-> [K1] +-referent-> [K2]
| |
+----------------+ +----------------+
| Pair.Weak <: |-----peer----->| (anonymous) <: |
| WeakRefPeer, | | WeakRefPeer |
| Pair |<--weakPair()--| |
+----------------+ +----------------+
| ^
| |
+-weakPair()-+
Pair.Weak is used for CHM keys. Both peers are associated with the same ReferenceQueue so when either of their referents becomes weakly-reachable, the corresponding entries can be expunged from the map.
Method Summary |
||
boolean |
||
first()
|
||
int |
hashCode()
|
|
second()
|
public K1 first |
() |
public K2 second |
() |
public int hashCode |
() |
public boolean equals |
(Object obj) |
|
FlexDoc/Javadoc 2.0 Demo Java Doc |