|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface LongConsumer
LongConsumer
is a callback interface. Its instances
receive values of type long
by invocation of their
consume(long)
method.
This interface is primarily intended for
the declaration of generator methods of the XL programming language
with return type long
. Such methods have an additional
parameter of type LongConsumer
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
long
.
Method Summary | |
---|---|
void |
consume(long value)
Receives a value of type long . |
Method Detail |
---|
void consume(long value)
long
.
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |