public enum CompareNumberType extends Enum<CompareNumberType>
文件名:CompareNumberType.java
用途: 用于枚举对数字比较的方式
编码时间:2020年10月20日下午7:00:14
修改时间:2020年10月20日下午7:00:14
Enum Constant and Description |
---|
EQUAL
等于
|
GREATER
大于
|
GREATER_OR_EQUAL
大于等于
|
LESS
小于
|
LESS_OR_EQUAL
小于等于
|
Modifier and Type | Method and Description |
---|---|
String |
getLogText()
返回枚举值
|
static CompareNumberType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static CompareNumberType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final CompareNumberType EQUAL
public static final CompareNumberType GREATER
public static final CompareNumberType LESS
public static final CompareNumberType GREATER_OR_EQUAL
public static final CompareNumberType LESS_OR_EQUAL
public static CompareNumberType[] values()
for (CompareNumberType c : CompareNumberType.values()) System.out.println(c);
public static CompareNumberType 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 getLogText()
Copyright © 2024. All rights reserved.