public enum IntBiCondition extends Enum<IntBiCondition> implements IntBiPredicate
| 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 |
|---|---|
IntBiPredicate |
negate()
Returns a predicate that represents the logical negation of this
predicate.
|
boolean |
test(int value,
int other)
Evaluates this predicate on the given arguments.
|
String |
toString() |
static IntBiCondition |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static IntBiCondition[] |
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 IntBiCondition EQUAL_TO
public static final IntBiCondition NOT_EQUAL_TO
public static final IntBiCondition GREATER_THAN
public static final IntBiCondition GREATER_OR_EQUAL
public static final IntBiCondition LESS_THAN
public static final IntBiCondition LESS_OR_EQUAL
public static final IntBiCondition BETWEEN_ZERO_AND
public static final IntBiCondition BETWEEN_ZERO_AND_CLOSED
public static final IntBiCondition POWER_OF_TWO
public static final IntBiCondition LOG2
public static IntBiCondition[] values()
for (IntBiCondition c : IntBiCondition.values()) System.out.println(c);
public static IntBiCondition 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 other)
IntBiPredicatetest in interface IntBiPredicatevalue - the first input argumentother - the second input argumenttrue if the input arguments match the predicate,
otherwise falsepublic IntBiPredicate negate()
IntBiPredicatenegate in interface IntBiPredicatepublic String toString()
toString in class Enum<IntBiCondition>Copyright © 2023. All rights reserved.