Interface IntPredicate
- All Superinterfaces:
IntPredicate
,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 IntPredicate extends IntPredicate, Serializable
IntPredicate is a primitive Predicate 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 primitivePredicate.stg.
- Since:
- 3.0.
-
Method Details
-
accept
boolean accept(int value) -
test
default boolean test(int value)- Specified by:
test
in interfaceIntPredicate
-