public static enum StringMatcher.StringOperatorName extends Enum<StringMatcher.StringOperatorName>
Enum Constant and Description |
---|
ANYTHING |
CONTAINS |
ENDS_WITH |
EQUALS |
STARTS_WITH |
Modifier and Type | Method and Description |
---|---|
abstract boolean |
evaluate(String value,
String compareTo) |
static StringMatcher.StringOperatorName |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static StringMatcher.StringOperatorName[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final StringMatcher.StringOperatorName EQUALS
public static final StringMatcher.StringOperatorName STARTS_WITH
public static final StringMatcher.StringOperatorName ENDS_WITH
public static final StringMatcher.StringOperatorName CONTAINS
public static final StringMatcher.StringOperatorName ANYTHING
public static StringMatcher.StringOperatorName[] values()
for (StringMatcher.StringOperatorName c : StringMatcher.StringOperatorName.values()) System.out.println(c);
public static StringMatcher.StringOperatorName 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 2001-2019, Terracotta, Inc.