org.freedesktop.dbus
Class StrongReference<T>
java.lang.Object
java.lang.ref.Reference<T>
java.lang.ref.WeakReference<T>
org.freedesktop.dbus.StrongReference<T>
public class StrongReference<T>
- extends WeakReference<T>
An alternative to a WeakReference when you don't want
that behaviour.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
StrongReference
public StrongReference(T referant)
clear
public void clear()
- Overrides:
clear
in class Reference<T>
enqueue
public boolean enqueue()
- Overrides:
enqueue
in class Reference<T>
get
public T get()
- Overrides:
get
in class Reference<T>
isEnqueued
public boolean isEnqueued()
- Overrides:
isEnqueued
in class Reference<T>