de.grogra.xl.lang
public interface VoidToIntGenerator
VoidToIntGenerator represent
generator functions which take voids as input
and yield sequences of values of
type int. Such instances are created by
lambda expressions of the XL programming language, e.g.,
VoidToIntGenerator f = void => int*
some generator expression;.| Modifier and Type | Method and Description |
|---|---|
void |
evaluateInt(IntConsumer cons)
Generates the sequence of values.
|
void evaluateInt(IntConsumer cons)
cons - each value is yielded to this consumer