| Package | Description |
|---|---|
| net.openhft.chronicle.core.internal.invariant.longs | |
| net.openhft.chronicle.core.util |
| Modifier and Type | Class and Description |
|---|---|
class |
LongBiCondition |
| Modifier and Type | Method and Description |
|---|---|
LongBiPredicate |
LongBiCondition.negate() |
| Modifier and Type | Method and Description |
|---|---|
default LongBiPredicate |
LongBiPredicate.and(LongBiPredicate other)
Returns a composed predicate that represents a short-circuiting logical
AND of this predicate and another.
|
static LongBiPredicate |
Longs.betweenZeroAnd()
Deprecated.
Returns a predicate that can test if a value is between zero and another value (exclusive)
(i.e value ∈ [0, other value) ).
|
static LongBiPredicate |
Longs.betweenZeroAndClosed()
Deprecated.
Returns a predicate that can test if a value is between zero and another value (inclusive)
(i.e value ∈ [0, other value] ).
|
static LongBiPredicate |
Longs.equalTo()
Deprecated.
Returns a predicate that can test if a value is equal to another value.
|
static LongBiPredicate |
Longs.greaterOrEqual()
Deprecated.
Returns a predicate that can test if a value is greater or equal to another value.
|
static LongBiPredicate |
Longs.greaterThan()
Deprecated.
Returns a predicate that can test if a value is greater than to another value.
|
static LongBiPredicate |
Longs.lessOrEqual()
Deprecated.
Returns a predicate that can test if a value is less or equal to another value.
|
static LongBiPredicate |
Longs.lessThan()
Deprecated.
Returns a predicate that can test if a value is less than to another value.
|
static LongBiPredicate |
Longs.log2()
Deprecated.
Returns a predicate that can test if a value is log2 of another value
(i.e.
|
default LongBiPredicate |
LongBiPredicate.negate()
Returns a predicate that represents the logical negation of this
predicate.
|
default LongBiPredicate |
LongBiPredicate.or(LongBiPredicate other)
Returns a composed predicate that represents a short-circuiting logical
OR of this predicate and another.
|
static LongBiPredicate |
Longs.powerOfTwo()
Deprecated.
Returns a predicate that can test if a value is a power of two of another value
(i.e.
|
| Modifier and Type | Method and Description |
|---|---|
default LongBiPredicate |
LongBiPredicate.and(LongBiPredicate other)
Returns a composed predicate that represents a short-circuiting logical
AND of this predicate and another.
|
static boolean |
Longs.assertIfEnabled(LongBiPredicate requirement,
long value,
long otherValue)
Deprecated.
Asserts that the provided
value and provided otherValue satisfies the provided requirement
if assertions is enabled (i.e. |
static String |
Longs.failDescription(LongBiPredicate requirement,
long value,
long otherValue)
Deprecated.
Returns a human-readable form of a failure message provided that the provided
value and
provided otherValue did not satisfy the provided requirement. |
default LongBiPredicate |
LongBiPredicate.or(LongBiPredicate other)
Returns a composed predicate that represents a short-circuiting logical
OR of this predicate and another.
|
static long |
Longs.require(LongBiPredicate requirement,
long value,
long otherValue)
Deprecated.
Returns the provided
value after checking that it and the provided otherValue satisfies the
provided requirement throwing an IllegalArgumentException if the check fails. |
static <X extends RuntimeException> |
Longs.require(LongBiPredicate requirement,
long value,
long otherValue,
Function<String,X> exceptionMapper)
Deprecated.
Returns the provided
value after checking that it and the provided otherValue satisfies the
provided requirement throwing an IllegalArgumentException if the check fails. |
Copyright © 2023. All rights reserved.