public enum StringMatch extends java.lang.Enum<StringMatch>
Enum Constant and Description |
---|
CONTAINS
Check that Str1.indexOf(Str2) > -1
|
ENDS_WITH
Check that Str1.endsWith(Str2)
|
EQUALS
Check that Str1.equals(Str2)
|
NOT_EQUALS
Check that !
|
STARTS_WITH
Check that Str1.startsWith(Str2)
|
Modifier and Type | Method and Description |
---|---|
static StringMatch |
fromSymbol(java.lang.String symbol) |
java.lang.String |
getSymbol()
Return the symbol that identifies the matchers
|
int |
getType() |
static StringMatch |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static StringMatch[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final StringMatch EQUALS
public static final StringMatch NOT_EQUALS
public static final StringMatch CONTAINS
public static final StringMatch STARTS_WITH
public static final StringMatch ENDS_WITH
public static StringMatch[] values()
for (StringMatch c : StringMatch.values()) System.out.println(c);
public static StringMatch 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 java.lang.String getSymbol()
public int getType()
public static StringMatch fromSymbol(java.lang.String symbol)