Package org.eclipse.net4j.util.ref
Class KeyedStrongReference<K,T>
- java.lang.Object
- 
- org.eclipse.net4j.util.ref.KeyedStrongReference<K,T>
 
- 
- All Implemented Interfaces:
- KeyedReference<K,T>
 
 public class KeyedStrongReference<K,T> extends java.lang.Object implements KeyedReference<K,T> - Author:
- Eike Stepper
 
- 
- 
Constructor SummaryConstructors Constructor Description KeyedStrongReference(K key, T ref)
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description voidclear()booleanenqueue()Tget()KgetKey()ReferenceTypegetType()booleanisEnqueued()java.lang.StringtoString()
 
- 
- 
- 
Method Detail- 
getTypepublic ReferenceType getType() - Specified by:
- getTypein interface- KeyedReference<K,T>
 
 - 
getKeypublic K getKey() - Specified by:
- getKeyin interface- KeyedReference<K,T>
 
 - 
getpublic T get() - Specified by:
- getin interface- KeyedReference<K,T>
- See Also:
- Reference.get()
 
 - 
clearpublic void clear() - Specified by:
- clearin interface- KeyedReference<K,T>
- See Also:
- Reference.clear()
 
 - 
isEnqueuedpublic boolean isEnqueued() - Specified by:
- isEnqueuedin interface- KeyedReference<K,T>
- See Also:
- Reference.isEnqueued()
 
 - 
enqueuepublic boolean enqueue() - Specified by:
- enqueuein interface- KeyedReference<K,T>
- See Also:
- Reference.enqueue()
 
 - 
toStringpublic java.lang.String toString() - Overrides:
- toStringin class- java.lang.Object
 
 
- 
 
-