de.grogra.xl.lang
public interface DoubleConsumer
DoubleConsumer is a callback interface. Its instances
receive values of type double by invocation of their
consume(double) method.
This interface is primarily intended for
the declaration of generator methods of the XL programming language
with return type double. Such methods have an additional
parameter of type DoubleConsumer 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
double.
| Modifier and Type | Method and Description |
|---|---|
void |
consume(double value)
Receives a value of type
double. |