Module xl.core

Interface VoidToLongGenerator

All Known Implementing Classes:
LongList, LongSynth

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

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

    • evaluateLong

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