Module xl.core

Interface VoidConsumer

All Known Implementing Classes:
RoutineDescriptor

public interface VoidConsumer
VoidConsumer is a callback interface. Its instances receive values of type void by invocation of their consume() method.

This interface is primarily intended for the declaration of generator methods of the XL programming language with return type void. Such methods have an additional parameter of type VoidConsumer to which they send the generated values.

However, this interface may also be used for similar purposes where a callback instance is needed as a receiver of values of type void.

Author:
Ole Kniemeyer
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    Receives a value of type void.
  • Method Details

    • consume

      void consume()
      Receives a value of type void.