public enum MatchModeEnum extends java.lang.Enum<MatchModeEnum>
| Enum Constant and Description |
|---|
AND
And match mode enum.
|
OR
Or match mode enum.
|
| Modifier and Type | Method and Description |
|---|---|
int |
getCode()
get code.
|
static java.lang.String |
getMatchModeByCode(int code)
get match mode name by code.
|
java.lang.String |
getName()
get name.
|
static boolean |
match(java.lang.Integer code,
MatchModeEnum matchModeEnum)
Judgment code and enum eq.
|
static MatchModeEnum |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static MatchModeEnum[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final MatchModeEnum AND
public static final MatchModeEnum OR
public static MatchModeEnum[] values()
for (MatchModeEnum c : MatchModeEnum.values()) System.out.println(c);
public static MatchModeEnum valueOf(java.lang.String name)
name - the name of the enum constant to be returned.java.lang.IllegalArgumentException - if this enum type has no constant with the specified namejava.lang.NullPointerException - if the argument is nullpublic int getCode()
public java.lang.String getName()
public static boolean match(java.lang.Integer code,
MatchModeEnum matchModeEnum)
code - code.matchModeEnum - enumpublic static java.lang.String getMatchModeByCode(int code)
code - match mode code.Copyright © 2024 The Apache Software Foundation. All rights reserved.