de.grogra.xl.lang
Interface VoidToDoubleGenerator

All Known Implementing Classes:
DoubleList, DoubleSynth

public interface VoidToDoubleGenerator

Instances of VoidToDoubleGenerator represent generator functions which take voids 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

Method Summary
 void evaluateDouble(DoubleConsumer cons)
          Generates the sequence of values.
 

Method Detail

evaluateDouble

void evaluateDouble(DoubleConsumer cons)
Generates the sequence of values.

Parameters:
cons - each value is yielded to this consumer