Package org.apache.tapestry5.func

# Class LazyContinuation<T>

java.lang.Object
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

  Constructors
  Constructor
  Description
  `LazyContinuation(LazyValue<T> nextValue, LazyFunction<T> nextFunction)`
  `LazyContinuation(T nextValue, LazyFunction<T> nextFunction)`

- ## Method Summary

  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.

  ### Methods inherited from class java.lang.Object

  `clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- ## Constructor Details

  - ### LazyContinuation

    public LazyContinuation(T nextValue, LazyFunction<T> nextFunction)

  - ### LazyContinuation

    public LazyContinuation(LazyValue<T> nextValue, LazyFunction<T> nextFunction)

- ## Method Details

  - ### 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.