Module xl.core

Interface VoidToVoidGenerator


public interface VoidToVoidGenerator
Instances of VoidToVoidGenerator represent generator functions which take voids as input and yield sequences of values of type void. Such instances are created by lambda expressions of the XL programming language, e.g., VoidToVoidGenerator f = void => void* some generator expression;.
Author:
Ole Kniemeyer
  • Method Summary

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

    • evaluateVoid

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