public class KeyedStrongReference<K,T> extends Object implements KeyedReference<K,T>
| Constructor and Description |
|---|
KeyedStrongReference(K key,
T ref) |
| Modifier and Type | Method and Description |
|---|---|
void |
clear() |
boolean |
enqueue() |
T |
get() |
K |
getKey() |
ReferenceType |
getType() |
boolean |
isEnqueued() |
String |
toString() |
public ReferenceType getType()
getType in interface KeyedReference<K,T>public K getKey()
getKey in interface KeyedReference<K,T>public T get()
get in interface KeyedReference<K,T>Reference.get()public void clear()
clear in interface KeyedReference<K,T>Reference.clear()public boolean isEnqueued()
isEnqueued in interface KeyedReference<K,T>Reference.isEnqueued()public boolean enqueue()
enqueue in interface KeyedReference<K,T>Reference.enqueue()Copyright (c) 2011-2015 Eike Stepper (Berlin, Germany) and others.