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