Top Description Methods
org.eclipse.collections.api.block.function.primitive

public Interface IntFunction<T>

extends ToIntFunction<T>, Serializable
Annotations
@FunctionalInterface
Imports
java.io.Serializable

IntFunction is a primitive Function which may be used to reduce the overhead of autoboxing Integer objects in places where primitive ints could be used. This file was automatically generated from template file primitiveFunction.stg.
Since
3.0.

Method Summary

Modifier and TypeMethod and Description
public default int
applyAsInt(T value)

Implements java.util.function.ToIntFunction.applyAsInt.

Applies this function to the given argument.

public int
intValueOf(T anObject)

Method Detail

applyAsIntback to summary
public default int applyAsInt(T value)

Implements java.util.function.ToIntFunction.applyAsInt.

Doc from java.util.function.ToIntFunction.applyAsInt.

Applies this function to the given argument.

Annotations
@Override
intValueOfback to summary
public int intValueOf(T anObject)