public enum LongTriCondition extends Enum<LongTriCondition> implements LongTriPredicate
| Enum Constant and Description |
|---|
BETWEEN |
BETWEEN_CLOSED |
BETWEEN_ZERO_AND_ENSURING |
| Modifier and Type | Method and Description |
|---|---|
boolean |
test(long value,
long otherFirst,
long otherSecond)
Evaluates this predicate on the given arguments.
|
String |
toString() |
static LongTriCondition |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static LongTriCondition[] |
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, negate, orpublic static final LongTriCondition BETWEEN
public static final LongTriCondition BETWEEN_CLOSED
public static final LongTriCondition BETWEEN_ZERO_AND_ENSURING
public static LongTriCondition[] values()
for (LongTriCondition c : LongTriCondition.values()) System.out.println(c);
public static LongTriCondition 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 otherFirst,
long otherSecond)
LongTriPredicatetest in interface LongTriPredicatevalue - the first input argumentotherFirst - the second input argumentotherSecond - the third input argumenttrue if the input arguments match the predicate,
otherwise falsepublic String toString()
toString in class Enum<LongTriCondition>Copyright © 2023. All rights reserved.