Interface ToLongFunction<T>
public interface ToLongFunction<T>
Represents a function that accepts one argument and produces a
long result.
Very simple and stupid interface for representing functions f(T) → long.-
Method Summary
Modifier and TypeMethodDescriptionlongapplyAsLong(T value) Applies this function to the given argument.
-
Method Details
-
applyAsLong
Applies this function to the given argument.- Parameters:
value- the function argument- Returns:
- the function result
-