| Package | Description |
|---|---|
| net.openhft.chronicle.core.internal.invariant.ints | |
| net.openhft.chronicle.core.util |
| Modifier and Type | Class and Description |
|---|---|
class |
IntBiCondition |
| Modifier and Type | Method and Description |
|---|---|
IntBiPredicate |
IntBiCondition.negate() |
| Modifier and Type | Method and Description |
|---|---|
default IntBiPredicate |
IntBiPredicate.and(IntBiPredicate other)
Returns a composed predicate that represents a short-circuiting logical
AND of this predicate and another.
|
static IntBiPredicate |
Ints.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 IntBiPredicate |
Ints.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 IntBiPredicate |
Ints.equalTo()
Deprecated.
Returns a predicate that can test if a value is equal to another value.
|
static IntBiPredicate |
Ints.greaterOrEqual()
Deprecated.
Returns a predicate that can test if a value is greater or equal to another value.
|
static IntBiPredicate |
Ints.greaterThan()
Deprecated.
Returns a predicate that can test if a value is greater than to another value.
|
static IntBiPredicate |
Ints.lessOrEqual()
Deprecated.
Returns a predicate that can test if a value is less or equal to another value.
|
static IntBiPredicate |
Ints.lessThan()
Deprecated.
Returns a predicate that can test if a value is less than to another value.
|
static IntBiPredicate |
Ints.log2()
Deprecated.
Returns a predicate that can test if a value is log2 of another value
(i.e.
|
default IntBiPredicate |
IntBiPredicate.negate()
Returns a predicate that represents the logical negation of this
predicate.
|
default IntBiPredicate |
IntBiPredicate.or(IntBiPredicate other)
Returns a composed predicate that represents a short-circuiting logical
OR of this predicate and another.
|
static IntBiPredicate |
Ints.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 IntBiPredicate |
IntBiPredicate.and(IntBiPredicate other)
Returns a composed predicate that represents a short-circuiting logical
AND of this predicate and another.
|
static boolean |
Ints.assertIfEnabled(IntBiPredicate requirement,
int value,
int otherValue)
Deprecated.
Asserts that the provided
value and provided otherValue satisfies the provided requirement
if assertions is enabled (i.e. |
static String |
Ints.failDescription(IntBiPredicate requirement,
int value,
int 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 IntBiPredicate |
IntBiPredicate.or(IntBiPredicate other)
Returns a composed predicate that represents a short-circuiting logical
OR of this predicate and another.
|
static int |
Ints.require(IntBiPredicate requirement,
int value,
int 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> |
Ints.require(IntBiPredicate requirement,
int value,
int 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.