de.grogra.xl.lang
Interface VoidToBooleanGenerator

All Known Implementing Classes:
BooleanList, BooleanSynth

public interface VoidToBooleanGenerator

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

Author:
Ole Kniemeyer

Method Summary
 void evaluateBoolean(BooleanConsumer cons)
          Generates the sequence of values.
 

Method Detail

evaluateBoolean

void evaluateBoolean(BooleanConsumer cons)
Generates the sequence of values.

Parameters:
cons - each value is yielded to this consumer