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