math.function.DoubleConsumer Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of finwhale Show documentation
Show all versions of finwhale Show documentation
Statistical distributions library (in statu nascendi)
The newest version!
package math.function;
/**
* Represents an operation that accepts a single {@code double}-valued argument
* and returns no result. This is the primitive type specialization of
* {@code Consumer} for {@code double}. Unlike most other functional interfaces,
* {@code DoubleConsumer} is expected to operate via side-effects.
*/
public interface DoubleConsumer {
/**
* Performs this operation on the given argument.
*
* @param value
* the input argument
*/
void accept(double value);
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy