org.apache.tapestry5.func
Class LazyContinuation<T>

java.lang.Object
  extended by org.apache.tapestry5.func.LazyContinuation<T>

public class LazyContinuation<T>
extends Object

The result of the evaluation of a LazyFunction.

Since:
5.2.0

Constructor Summary
LazyContinuation(LazyValue<T> nextValue, LazyFunction<T> nextFunction)
           
LazyContinuation(T nextValue, LazyFunction<T> nextFunction)
           
 
Method Summary
 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.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

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.



Copyright © 2003-2012 The Apache Software Foundation.