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