T
public final class ReadyRef<T> extends java.lang.Object implements LazyRef<T>
An implementation of LazyRef that simply encapsulates an existing value. Use it to pass a known value as a parameter to a method expecting a LazyRef.
LazyRef
ReadyRef(T value)
deref()
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
public ReadyRef(T value)
public T deref()
Return the actual value that this reference encapsulate. Concrete implementation may perform a length operation in order to get to the value.
deref
LazyRef<T>