public enum IntCondition extends Enum<IntCondition> implements IntPredicate
| Enum Constant and Description |
|---|
BYTE_CONVERTIBLE |
EVEN_POWER_OF_TWO |
INT_ALIGNED |
LONG_ALIGNED |
NEGATIVE |
NON_NEGATIVE |
NON_POSITIVE |
NON_ZERO |
POSITIVE |
SHORT_ALIGNED |
SHORT_CONVERTIBLE |
ZERO |
| Modifier and Type | Method and Description |
|---|---|
IntPredicate |
negate() |
boolean |
test(int value) |
String |
toString() |
static IntCondition |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static IntCondition[] |
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 IntCondition POSITIVE
public static final IntCondition NEGATIVE
public static final IntCondition ZERO
public static final IntCondition NON_POSITIVE
public static final IntCondition NON_NEGATIVE
public static final IntCondition NON_ZERO
public static final IntCondition BYTE_CONVERTIBLE
public static final IntCondition SHORT_CONVERTIBLE
public static final IntCondition EVEN_POWER_OF_TWO
public static final IntCondition SHORT_ALIGNED
public static final IntCondition INT_ALIGNED
public static final IntCondition LONG_ALIGNED
public static IntCondition[] values()
for (IntCondition c : IntCondition.values()) System.out.println(c);
public static IntCondition 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)
test in interface IntPredicatepublic IntPredicate negate()
negate in interface IntPredicatepublic String toString()
toString in class Enum<IntCondition>Copyright © 2023. All rights reserved.