de.grogra.xl.lang
Interface VoidToDoubleGenerator
- All Known Implementing Classes:
- DoubleList, DoubleSynth
public interface VoidToDoubleGenerator
Instances of VoidToDoubleGenerator
represent
generator functions which take void
s as input
and yield sequences of values of
type double
. Such instances are created by
lambda expressions of the XL programming language, e.g.,
VoidToDoubleGenerator f = void => double*
some generator expression;
.
- Author:
- Ole Kniemeyer
evaluateDouble
void evaluateDouble(DoubleConsumer cons)
- Generates the sequence of values.
- Parameters:
cons
- each value is yielded to this consumer