org.eclipse.net4j.util.ref
Class KeyedSoftReference<K,T>
java.lang.Object
java.lang.ref.Reference<T>
java.lang.ref.SoftReference<T>
org.eclipse.net4j.util.ref.KeyedSoftReference<K,T>
- All Implemented Interfaces:
- KeyedReference<K,T>
- public class KeyedSoftReference<K,T>
- extends SoftReference<T>
- implements KeyedReference<K,T>
KeyedSoftReference
public KeyedSoftReference(K key,
T ref)
KeyedSoftReference
public KeyedSoftReference(K key,
T ref,
ReferenceQueue<T> queue)
getType
public ReferenceType getType()
- Specified by:
getType
in interface KeyedReference<K,T>
getKey
public K getKey()
- Specified by:
getKey
in interface KeyedReference<K,T>
toString
public String toString()
- Overrides:
toString
in class Object
Copyright (c) 2004 - 2012 Eike Stepper (Berlin, Germany) and others.