public enum NoMatchStrategy extends Enum<NoMatchStrategy>
Enum Constant and Description |
---|
EMPTY
使用空字符串
|
KEEP
保留占位符
|
THROW
抛出异常
|
Modifier and Type | Method and Description |
---|---|
static NoMatchStrategy |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static NoMatchStrategy[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final NoMatchStrategy KEEP
public static final NoMatchStrategy EMPTY
public static final NoMatchStrategy THROW
public static NoMatchStrategy[] values()
for (NoMatchStrategy c : NoMatchStrategy.values()) System.out.println(c);
public static NoMatchStrategy 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 © 2024. All rights reserved.