com.annimon.stream.function.ToLongFunction Maven / Gradle / Ivy
package com.annimon.stream.function;
/**
* Represents a function which produces an {@code long}-valued result from input argument.
*
* @param the type of the input of the function
* @since 1.1.3
* @see Function
*/
public interface ToLongFunction {
/**
* Applies this function to the given argument.
*
* @param t an argument
* @return the function result
*/
long applyAsLong(T t);
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy