Enum Constant and Description |
---|
Contains
Matches strings that contain something
|
EndsWith
Matches strings that end with something
|
Equals
Matches strings that equal something
|
StartsWith
Matches strings that start with something
|
Modifier and Type | Method and Description |
---|---|
static MatchType |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static MatchType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final MatchType Contains
public static final MatchType StartsWith
public static final MatchType EndsWith
public static final MatchType Equals
public static MatchType[] values()
for (MatchType c : MatchType.values()) System.out.println(c);
public static MatchType 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 null