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 Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description booleanaccept(int value)default booleantest(int value)-
Methods inherited from interface java.util.function.IntPredicate
and, negate, or
-
-
-
-
Method Detail
-
accept
boolean accept(int value)
-
test
default boolean test(int value)
- Specified by:
testin interfaceIntPredicate
-
-