de.grogra.xl.lang
Interface DoubleConsumer

All Known Implementing Classes:
DoubleList, RoutineDescriptor

public interface DoubleConsumer

DoubleConsumer is a callback interface. Its instances receive values of type double by invocation of their consume(double) method.

This interface is primarily intended for the declaration of generator methods of the XL programming language with return type double. Such methods have an additional parameter of type DoubleConsumer 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 double.

Author:
Ole Kniemeyer

Method Summary
 void consume(double value)
          Receives a value of type double.
 

Method Detail

consume

void consume(double value)
Receives a value of type double.