public interface IntPredicate extends java.util.function.IntPredicate, Try.IntPredicate<java.lang.RuntimeException>
Modifier and Type | Field and Description |
---|---|
static IntPredicate |
ALWAYS_FALSE |
static IntPredicate |
ALWAYS_TRUE |
static IntPredicate |
IS_NEGATIVE |
static IntPredicate |
IS_POSITIVE |
static IntPredicate |
IS_ZERO |
static IntPredicate |
NOT_NEGATIVE |
static IntPredicate |
NOT_POSITIVE |
static IntPredicate |
NOT_ZERO |
Modifier and Type | Method and Description |
---|---|
static IntPredicate |
between(int minValue,
int maxValue) |
static IntPredicate |
equal(int targetInt) |
static IntPredicate |
greaterEqual(int targetInt) |
static IntPredicate |
greaterThan(int targetInt) |
static IntPredicate |
lessEqual(int targetInt) |
static IntPredicate |
lessThan(int targetInt) |
static IntPredicate |
notEqual(int targetInt) |
static IntPredicate |
of(IntPredicate predicate)
Returns the specified instance
|
boolean |
test(int value) |
static final IntPredicate ALWAYS_TRUE
static final IntPredicate ALWAYS_FALSE
static final IntPredicate IS_ZERO
static final IntPredicate NOT_ZERO
static final IntPredicate IS_POSITIVE
static final IntPredicate NOT_POSITIVE
static final IntPredicate IS_NEGATIVE
static final IntPredicate NOT_NEGATIVE
boolean test(int value)
test
in interface java.util.function.IntPredicate
test
in interface Try.IntPredicate<java.lang.RuntimeException>
static IntPredicate of(IntPredicate predicate)
predicate
- static IntPredicate equal(int targetInt)
static IntPredicate notEqual(int targetInt)
static IntPredicate greaterThan(int targetInt)
static IntPredicate greaterEqual(int targetInt)
static IntPredicate lessThan(int targetInt)
static IntPredicate lessEqual(int targetInt)
static IntPredicate between(int minValue, int maxValue)