| Package | Description |
|---|---|
| net.openhft.chronicle.core.internal.invariant.longs | |
| net.openhft.chronicle.core.util |
| Modifier and Type | Class and Description |
|---|---|
class |
LongTriCondition |
| Modifier and Type | Method and Description |
|---|---|
default LongTriPredicate |
LongTriPredicate.and(LongTriPredicate other)
Deprecated.
Returns a composed predicate that represents a short-circuiting logical
AND of this predicate and another.
|
static LongTriPredicate |
Longs.between()
Deprecated.
Returns a predicate that can test if a value is between another first value (inclusive)
and another second value (exclusive) (i.e value ∈ [other first value , other second value) ).
|
static LongTriPredicate |
Longs.betweenClosed()
Deprecated.
Returns a predicate that can test if a value is between (closed) another first value (inclusive)
and another second value (inclusive) (i.e value ∈ [other first value , other second value] ).
|
static LongTriPredicate |
Longs.betweenZeroAndReserving()
Deprecated.
Returns a predicate that can test if a value is between zero and another first value (inclusive)
whilst ensuring a value of size defined by another second value can fit.
|
default LongTriPredicate |
LongTriPredicate.negate()
Deprecated.
Returns a predicate that represents the logical negation of this
predicate.
|
default LongTriPredicate |
LongTriPredicate.or(LongTriPredicate other)
Deprecated.
Returns a composed predicate that represents a short-circuiting logical
OR of this predicate and another.
|
| Modifier and Type | Method and Description |
|---|---|
default LongTriPredicate |
LongTriPredicate.and(LongTriPredicate other)
Deprecated.
Returns a composed predicate that represents a short-circuiting logical
AND of this predicate and another.
|
static boolean |
Longs.assertIfEnabled(LongTriPredicate requirement,
long value,
long otherFirstValue,
long otherSecondValue)
Deprecated.
Asserts that the provided
value, provided otherFirstValue and provided otherSecondValue
satisfies the provided requirement if assertions is enabled (i.e. |
static String |
Longs.failDescription(LongTriPredicate requirement,
long value,
long otherFirstValue,
long otherSecondValue)
Deprecated.
Returns a human-readable form of a failure message provided that the provided
value,
provided otherFirstValue and provided otherFirstValue did not satisfy the
provided requirement. |
default LongTriPredicate |
LongTriPredicate.or(LongTriPredicate other)
Deprecated.
Returns a composed predicate that represents a short-circuiting logical
OR of this predicate and another.
|
static long |
Longs.require(LongTriPredicate requirement,
long value,
long otherFirstValue,
long otherSecondValue)
Deprecated.
Returns the provided
value after checking that it and the provided otherValue
and the provided otherSecondValue satisfies the provided requirement
throwing an IllegalArgumentException if the check fails. |
static <X extends RuntimeException> |
Longs.require(LongTriPredicate requirement,
long value,
long otherFirstValue,
long otherSecondValue,
Function<String,X> exceptionMapper)
Deprecated.
Returns the provided
value after checking that it and the provided otherValue
and the provided otherSecondValue satisfies the provided requirement
throwing an IllegalArgumentException if the check fails. |
Copyright © 2023. All rights reserved.