public interface IntPredicate extends Throwables.IntPredicate<RuntimeException>, IntPredicate
| 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 |
|---|---|
default IntPredicate |
and(IntPredicate other) |
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) |
default IntPredicate |
negate() |
static IntPredicate |
notEqual(int targetInt) |
static IntPredicate |
of(IntPredicate predicate)
Returns the specified instance
|
default IntPredicate |
or(IntPredicate other) |
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 IntPredicatetest in interface Throwables.IntPredicate<RuntimeException>default IntPredicate negate()
negate in interface IntPredicatedefault IntPredicate and(IntPredicate other)
and in interface IntPredicatedefault IntPredicate or(IntPredicate other)
or in interface IntPredicatestatic 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)
Copyright © 2021. All rights reserved.