Interface IntFunction0
-
- All Superinterfaces:
IntSupplier,Serializable
- Functional Interface:
- This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.
@FunctionalInterface public interface IntFunction0 extends IntSupplier, 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
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description default intgetAsInt()intvalue()
-
-
-
Method Detail
-
value
int value()
-
getAsInt
default int getAsInt()
- Specified by:
getAsIntin interfaceIntSupplier
-
-