
com.annimon.stream.function.DoubleFunction Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of stream Show documentation
Show all versions of stream Show documentation
Enhancing Java 8 Streams
The newest version!
package com.annimon.stream.function;
/**
* Represents a function which produces result from {@code double}-valued input argument.
*
* @param the type of the result of the function
*
* @since 1.1.4
* @see Function
*/
@FunctionalInterface
public interface DoubleFunction {
/**
* Applies this function to the given argument.
*
* @param value an argument
* @return the function result
*/
R apply(double value);
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy