com.annimon.stream.function.Function Maven / Gradle / Ivy
The newest version!
package com.annimon.stream.function;
/**
* Represents a function which produces result from input arguments.
*
* @param the type of the input of the function
* @param the type of the result of the function
*/
@FunctionalInterface
public interface Function {
/**
* Applies this function to the given argument.
*
* @param t an argument
* @return the function result
*/
R apply(T t);
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy