public enum LongBiCondition extends Enum<LongBiCondition> implements LongBiPredicate
| Enum Constant and Description |
|---|
BETWEEN_ZERO_AND |
BETWEEN_ZERO_AND_CLOSED |
EQUAL_TO |
GREATER_OR_EQUAL |
GREATER_THAN |
LESS_OR_EQUAL |
LESS_THAN |
LOG2 |
NOT_EQUAL_TO |
POWER_OF_TWO |
| Modifier and Type | Method and Description |
|---|---|
LongBiPredicate |
negate()
Returns a predicate that represents the logical negation of this
predicate.
|
boolean |
test(long value,
long other)
Evaluates this predicate on the given arguments.
|
String |
toString() |
static LongBiCondition |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static LongBiCondition[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, valueOfand, orpublic static final LongBiCondition EQUAL_TO
public static final LongBiCondition NOT_EQUAL_TO
public static final LongBiCondition GREATER_THAN
public static final LongBiCondition GREATER_OR_EQUAL
public static final LongBiCondition LESS_THAN
public static final LongBiCondition LESS_OR_EQUAL
public static final LongBiCondition BETWEEN_ZERO_AND
public static final LongBiCondition BETWEEN_ZERO_AND_CLOSED
public static final LongBiCondition POWER_OF_TWO
public static final LongBiCondition LOG2
public static LongBiCondition[] values()
for (LongBiCondition c : LongBiCondition.values()) System.out.println(c);
public static LongBiCondition valueOf(String name)
name - the name of the enum constant to be returned.IllegalArgumentException - if this enum type has no constant with the specified nameNullPointerException - if the argument is nullpublic boolean test(long value,
long other)
LongBiPredicatetest in interface LongBiPredicatevalue - the first input argumentother - the second input argumenttrue if the input arguments match the predicate,
otherwise falsepublic LongBiPredicate negate()
LongBiPredicatenegate in interface LongBiPredicatepublic String toString()
toString in class Enum<LongBiCondition>Copyright © 2023. All rights reserved.