trait
Iteratee[E, A] extends AnyRef
Abstract Value Members
-
abstract
val
state: State[E, A]
Concrete Value Members
-
final
def
!=(arg0: AnyRef): Boolean
-
final
def
!=(arg0: Any): Boolean
-
final
def
##(): Int
-
final
def
==(arg0: AnyRef): Boolean
-
final
def
==(arg0: Any): Boolean
-
final
def
asInstanceOf[T0]: T0
-
def
clone(): AnyRef
-
final
def
eq(arg0: AnyRef): Boolean
-
def
equals(arg0: Any): Boolean
-
def
finalize(): Unit
-
def
flatMap[B](f: (A) ⇒ Iteratee[E, B]): Iteratee[E, B]
-
def
fold(input: Input[E]): Iteratee[E, A]
-
final
def
getClass(): Class[_]
-
def
hashCode(): Int
-
final
def
isInstanceOf[T0]: Boolean
-
def
map[B](f: (A) ⇒ B): Iteratee[E, B]
-
final
def
ne(arg0: AnyRef): Boolean
-
final
def
notify(): Unit
-
final
def
notifyAll(): Unit
-
def
run: Try[A]
-
final
def
synchronized[T0](arg0: ⇒ T0): T0
-
def
toString(): String
-
final
def
wait(): Unit
-
final
def
wait(arg0: Long, arg1: Int): Unit
-
final
def
wait(arg0: Long): Unit
Inherited from AnyRef
Inherited from Any
An immutable structure that transforms a set of data to a result.
An iteratee is an immutable structure that can consume an input to create a iteratee. An iteratee is only defined by its state which can be either Cont, Error or Done. Cont holds a closure that defines the next Iteratee depending on the next input. Done holds the result and Error holds a Throwable.
There are three different types of Input: Element, Empty and EOF. The meaning of Element and Empty depends on the implementation, but as soon as an EOF is encountered the resulting new Iteratee must be in the Done state.