de.grogra.xl.lang
Interface VoidToIntGenerator
- All Known Implementing Classes:
- IntList, IntSynth
public interface VoidToIntGenerator
Instances of VoidToIntGenerator
represent
generator functions which take void
s 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;
.
- Author:
- Ole Kniemeyer
evaluateInt
void evaluateInt(IntConsumer cons)
- Generates the sequence of values.
- Parameters:
cons
- each value is yielded to this consumer