de.grogra.xl.lang
Interface VoidToShortGenerator

All Known Implementing Classes:
ShortList, ShortSynth

public interface VoidToShortGenerator

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

Author:
Ole Kniemeyer

Method Summary
 void evaluateShort(ShortConsumer cons)
          Generates the sequence of values.
 

Method Detail

evaluateShort

void evaluateShort(ShortConsumer cons)
Generates the sequence of values.

Parameters:
cons - each value is yielded to this consumer