- All Known Implementing Classes:
BooleanList
,RoutineDescriptor
public interface BooleanConsumer
BooleanConsumer
is a callback interface. Its instances
receive values of type boolean
by invocation of their
consume(boolean)
method.
This interface is primarily intended for
the declaration of generator methods of the XL programming language
with return type boolean
. Such methods have an additional
parameter of type BooleanConsumer
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
boolean
.
- Author:
- Ole Kniemeyer
-
Method Summary
-
Method Details
-
consume
void consume(boolean value) Receives a value of typeboolean
.
-