public enum ComparisonOp extends Enum<ComparisonOp>
| Enum Constant and Description |
|---|
eq |
gt |
gte |
in |
lk |
lt |
lte |
neq |
nin |
nlk |
| Modifier and Type | Method and Description |
|---|---|
String |
getCode()
代号
|
static ComparisonOp |
parse(String op)
解析
|
static ComparisonOp |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ComparisonOp[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ComparisonOp lt
public static final ComparisonOp lte
public static final ComparisonOp gt
public static final ComparisonOp gte
public static final ComparisonOp eq
public static final ComparisonOp neq
public static final ComparisonOp lk
public static final ComparisonOp nlk
public static final ComparisonOp in
public static final ComparisonOp nin
public static ComparisonOp[] values()
for (ComparisonOp c : ComparisonOp.values()) System.out.println(c);
public static ComparisonOp 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 String getCode()
public static ComparisonOp parse(String op)
Copyright © 2025. All rights reserved.