|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.hypergraphdb.ReadyRef<T>
T - public final class ReadyRef<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.
| Constructor Summary | |
|---|---|
ReadyRef(T value)
|
|
| Method Summary | |
|---|---|
T |
deref()
Return the actual value that this reference encapsulate. |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public ReadyRef(T value)
| Method Detail |
|---|
public T deref()
LazyRefReturn the actual value that this reference encapsulate. Concrete implementation may perform a length operation in order to get to the value.
deref in interface LazyRef<T>
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||