Package org.apache.tapestry5.func
Class LazyContinuation<T>
- java.lang.Object
-
- org.apache.tapestry5.func.LazyContinuation<T>
-
public class LazyContinuation<T> extends java.lang.Object
The result of the evaluation of aLazyFunction
.- Since:
- 5.2.0
-
-
Constructor Summary
Constructors Constructor Description LazyContinuation(LazyValue<T> nextValue, LazyFunction<T> nextFunction)
LazyContinuation(T nextValue, LazyFunction<T> nextFunction)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description LazyFunction<T>
nextFunction()
Returns a new lazy function that will return the next continuation.LazyValue<T>
nextValue()
Returns, indirectly, the next value computed by the lazy function.
-
-
-
Constructor Detail
-
LazyContinuation
public LazyContinuation(T nextValue, LazyFunction<T> nextFunction)
-
LazyContinuation
public LazyContinuation(LazyValue<T> nextValue, LazyFunction<T> nextFunction)
-
-
Method Detail
-
nextValue
public LazyValue<T> nextValue()
Returns, indirectly, the next value computed by the lazy function. The LazyValue represents a deferred computation.
-
nextFunction
public LazyFunction<T> nextFunction()
Returns a new lazy function that will return the next continuation.
-
-