Interface ToLongFunction<T>
-
public interface ToLongFunction<T>Represents a function that accepts one argument and produces alongresult. Very simple and stupid interface for representing functions f(T) →long.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description longapplyAsLong(T value)Applies this function to the given argument.
-
-
-
Method Detail
-
applyAsLong
long applyAsLong(T value)
Applies this function to the given argument.- Parameters:
value- the function argument- Returns:
- the function result
-
-