public enum CompareEnum extends Enum<CompareEnum>
Enum Constant and Description |
---|
EQ
等于(equal to)
|
GE
大于等于(greater than or equal to)
|
GT
大于(greater than)
|
LE
小于等于(less than or equal to)
|
LT
小于(less than)
|
NE
不等于(not equal to)
|
Modifier and Type | Method and Description |
---|---|
static CompareEnum |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static CompareEnum[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final CompareEnum EQ
public static final CompareEnum NE
public static final CompareEnum LT
public static final CompareEnum LE
public static final CompareEnum GT
public static final CompareEnum GE
public static CompareEnum[] values()
for (CompareEnum c : CompareEnum.values()) System.out.println(c);
public static CompareEnum 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 nullCopyright © 2022 Pivotal Software, Inc.. All rights reserved.