AI-generated Key Takeaways
-
ToLongFunction
is a functional interface representing a function that produces a long-valued result. -
It is a specialization of the
Function
interface specifically for producinglong
values. -
The core functionality is provided by the
applyAsLong
method, which takes an argument and returns along
result.
Represents a function that produces a long-valued result. This is the
long
-producing primitive specialization for Function
.
This is a functional interface
whose functional method is applyAsLong(Object)
.
See Also
Public Method Summary
abstract long |
applyAsLong(T value)
Applies this function to the given argument.
|
Public Methods
public abstract long applyAsLong (T value)
Applies this function to the given argument.
Parameters
value | the function argument |
---|
Returns
- the function result