de.grogra.xl.lang
Interface ShortConsumer

All Known Implementing Classes:
RoutineDescriptor, ShortList

public interface ShortConsumer

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

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

Author:
Ole Kniemeyer

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

Method Detail

consume

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