de.grogra.xl.lang
Interface FloatConsumer

All Known Implementing Classes:
FloatList, RoutineDescriptor

public interface FloatConsumer

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

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

Author:
Ole Kniemeyer

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

Method Detail

consume

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