Top Description Methods
java.util.function

public Interface LongToIntFunction

Annotations
@FunctionalInterface

Represents a function that accepts a long-valued argument and produces an int-valued result. This is the long-to-int primitive specialization for Function.

This is a functional interface whose functional method is applyAsInt(long).

Since
1.8
See Also
Function

Method Summary

Modifier and TypeMethod and Description
public int

Returns:

the function result
applyAsInt
(long
the function argument
value
)

Applies this function to the given argument.

Method Detail

applyAsIntback to summary
public int applyAsInt(long value)

Applies this function to the given argument.

Parameters
value:long

the function argument

Returns:int

the function result