Package net.automatalib.common.util.ref
Interface Ref<T>
-
- Type Parameters:
T
- referent class.
public interface Ref<T>
An abstraction for (weak or strong) references.This class allows for treating normal ("strong") references the same way as
WeakReference
s.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description @Nullable T
get()
Retrieves the referent.
-