Package io.deephaven.base.reference
Interface SimpleReference<T>
- All Known Subinterfaces:
CleanupReference<T>
- All Known Implementing Classes:
DowngradableReference
,HardSimpleReference
,PooledObjectReference
,SwappableDelegatingReference
,WeakCleanupReference
,WeakReferenceWrapper
,WeakSimpleReference
public interface SimpleReference<T>
Simple reference interface used by CachedReference.
-
Method Summary
-
Method Details
-
get
T get()Retrieve the current referent.- Returns:
- The current referent, which may be null.
-
clear
void clear()Clear the referent.
-