Module xl.core

Interface VoidToObjectGenerator<V>

All Known Implementing Classes:
EventSupport.Queue, ObjectList, ObjectSynth, PickRayVisitor, PickToolVisitor, TreeIterator, Visitor2D

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

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

    • evaluateObject

      void evaluateObject(ObjectConsumer<? super V> cons)
      Generates the sequence of values.
      Parameters:
      cons - each value is yielded to this consumer