Package fj.data

Class Eval.TrampolineEval<A>

    • Constructor Detail

      • TrampolineEval

        private TrampolineEval()
    • Method Detail

      • trampoline

        protected abstract Trampoline<A> trampoline()
      • value

        public final A value()
        Description copied from class: Eval
        Evaluates the computation and return its result. Depending on whether the current instance is lazy or eager the computation may or may not happen at this point.
        Specified by:
        value in class Eval<A>
        Returns:
        a result of this computation.