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

${project.version} - Copyright © 2003-2015 The Apache Software Foundation.