Module xl.core

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

    Modifier and Type
    Method
    Description
    void
    Generates the sequence of values.
  • Method Details

    • evaluateFloat

      void evaluateFloat(FloatConsumer cons)
      Generates the sequence of values.
      Parameters:
      cons - each value is yielded to this consumer