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

public Interface IntFunction0

extends IntSupplier, Serializable
Annotations
@FunctionalInterface
Imports
java.io.Serializable

IntFunction0 is a zero argument lambda. It can be stored in a variable or passed as a parameter and executed by calling the value method. It 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 primitiveFunction0.stg.
Since
3.0.

Method Summary

Modifier and TypeMethod and Description
public default int
public int

Method Detail

getAsIntback to summary
public default int getAsInt()

Implements java.util.function.IntSupplier.getAsInt.

Doc from java.util.function.IntSupplier.getAsInt.

Gets a result.

Annotations
@Override
valueback to summary
public int value()