public enum IntTriCondition extends Enum<IntTriCondition> implements IntTriPredicate
| Enum Constant and Description |
|---|
BETWEEN |
BETWEEN_CLOSED |
BETWEEN_ZERO_AND_ENSURING |
| Modifier and Type | Method and Description |
|---|---|
boolean |
test(int value,
int otherFirst,
int otherSecond)
Evaluates this predicate on the given arguments.
|
String |
toString() |
static IntTriCondition |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static IntTriCondition[] |
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 IntTriCondition BETWEEN
public static final IntTriCondition BETWEEN_CLOSED
public static final IntTriCondition BETWEEN_ZERO_AND_ENSURING
public static IntTriCondition[] values()
for (IntTriCondition c : IntTriCondition.values()) System.out.println(c);
public static IntTriCondition 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(int value,
int otherFirst,
int otherSecond)
IntTriPredicatetest in interface IntTriPredicatevalue - 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<IntTriCondition>Copyright © 2023. All rights reserved.