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