Overview | Package | Class | Tree | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## de.grogra.xl.lang
Interface IntConsumer

All Known Implementing Classes:
  IntList, RoutineDescriptor

    public interface IntConsumer

`IntConsumer` is a callback interface. Its instances receive values of type `int` by invocation of their `consume(int)` method.

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

Author:
  Ole Kniemeyer

Method Summary
`void` | `consume(int value)` Receives a value of type `int`.

Method Detail

### consume

    void consume(int value)

  Receives a value of type `int`.

Overview | Package | Class | Tree | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD