de.grogra.xl.lang
Interface VoidToFloatGenerator

All Known Implementing Classes:
FloatList, FloatSynth

public interface VoidToFloatGenerator

Instances of VoidToFloatGenerator represent generator functions which take voids as input and yield sequences of values of type float. Such instances are created by lambda expressions of the XL programming language, e.g., VoidToFloatGenerator f = void => float* some generator expression;.

Author:
Ole Kniemeyer

Method Summary
 void evaluateFloat(FloatConsumer cons)
          Generates the sequence of values.
 

Method Detail

evaluateFloat

void evaluateFloat(FloatConsumer cons)
Generates the sequence of values.

Parameters:
cons - each value is yielded to this consumer