public class WeakKey extends WeakReference<Object>
Constructor and Description |
---|
WeakKey(Object key,
ReferenceQueue q) |
Modifier and Type | Method and Description |
---|---|
static WeakKey |
comparisonKey(Object checkKey)
Return an instance of WeakKey that can be used in comparsion operations.
|
boolean |
equals(Object o) |
int |
hashCode() |
clear, enqueue, get, isEnqueued
public WeakKey(Object key, ReferenceQueue q)
public static WeakKey comparisonKey(Object checkKey)
checkKey
- the key valueCopyright © 2004-2015 The Apache Software Foundation. All Rights Reserved.