public interface LongPredicate extends Throwables.LongPredicate<RuntimeException>, LongPredicate
| Modifier and Type | Field and Description |
|---|---|
static LongPredicate |
ALWAYS_FALSE |
static LongPredicate |
ALWAYS_TRUE |
static LongPredicate |
IS_NEGATIVE |
static LongPredicate |
IS_POSITIVE |
static LongPredicate |
IS_ZERO |
static LongPredicate |
NOT_NEGATIVE |
static LongPredicate |
NOT_POSITIVE |
static LongPredicate |
NOT_ZERO |
| Modifier and Type | Method and Description |
|---|---|
default LongPredicate |
and(LongPredicate other) |
static LongPredicate |
between(long minValue,
long maxValue) |
static LongPredicate |
equal(long targetLong) |
static LongPredicate |
greaterEqual(long targetLong) |
static LongPredicate |
greaterThan(long targetLong) |
static LongPredicate |
lessEqual(long targetLong) |
static LongPredicate |
lessThan(long targetLong) |
default LongPredicate |
negate() |
static LongPredicate |
notEqual(long targetLong) |
static LongPredicate |
of(LongPredicate predicate)
Returns the specified instance
|
default LongPredicate |
or(LongPredicate other) |
boolean |
test(long value) |
static final LongPredicate ALWAYS_TRUE
static final LongPredicate ALWAYS_FALSE
static final LongPredicate IS_ZERO
static final LongPredicate NOT_ZERO
static final LongPredicate IS_POSITIVE
static final LongPredicate NOT_POSITIVE
static final LongPredicate IS_NEGATIVE
static final LongPredicate NOT_NEGATIVE
boolean test(long value)
test in interface LongPredicatetest in interface Throwables.LongPredicate<RuntimeException>default LongPredicate negate()
negate in interface LongPredicatedefault LongPredicate or(LongPredicate other)
or in interface LongPredicatedefault LongPredicate and(LongPredicate other)
and in interface LongPredicatestatic LongPredicate of(LongPredicate predicate)
predicate - static LongPredicate equal(long targetLong)
static LongPredicate notEqual(long targetLong)
static LongPredicate greaterThan(long targetLong)
static LongPredicate greaterEqual(long targetLong)
static LongPredicate lessThan(long targetLong)
static LongPredicate lessEqual(long targetLong)
static LongPredicate between(long minValue, long maxValue)
Copyright © 2021. All rights reserved.