public static enum StringMatcher.EStringOperatorName extends Enum<StringMatcher.EStringOperatorName>
| Enum Constant and Description |
|---|
ANYTHING |
CONTAINS |
ENDS_WITH |
EQUALS |
STARTS_WITH |
| Modifier and Type | Method and Description |
|---|---|
abstract boolean |
evaluate(String value,
String sCompareTo) |
static StringMatcher.EStringOperatorName |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static StringMatcher.EStringOperatorName[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final StringMatcher.EStringOperatorName EQUALS
public static final StringMatcher.EStringOperatorName STARTS_WITH
public static final StringMatcher.EStringOperatorName ENDS_WITH
public static final StringMatcher.EStringOperatorName CONTAINS
public static final StringMatcher.EStringOperatorName ANYTHING
public static StringMatcher.EStringOperatorName[] values()
for (StringMatcher.EStringOperatorName c : StringMatcher.EStringOperatorName.values()) System.out.println(c);
public static StringMatcher.EStringOperatorName 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 © 2016–2021 Philip Helger. All rights reserved.