All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.annimon.stream.function.DoubleFunction Maven / Gradle / Ivy

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