Package fj.data

Class Iteratee.Input<E>

  • Enclosing class:
    Iteratee

    public abstract static class Iteratee.Input<E>
    extends java.lang.Object
    The input to an iteratee.
    • Constructor Detail

      • Input

        Input()
    • Method Detail

      • apply

        public abstract <Z> Z apply​(F0<Z> empty,
                                    F0<F<E,​Z>> el,
                                    F0<Z> eof)
      • empty

        public static <E> Iteratee.Input<E> empty()
        Input that has no values available
      • eof

        public static <E> Iteratee.Input<E> eof()
        Input that is exhausted
      • el

        public static <E> Iteratee.Input<E> el​(E element)
        Input that has a value available