public static enum StringMatcher.StringOperatorName extends java.lang.Enum<StringMatcher.StringOperatorName>
| Enum Constant and Description |
|---|
ANYTHING |
CONTAINS |
ENDS_WITH |
EQUALS |
STARTS_WITH |
| Modifier and Type | Method and Description |
|---|---|
abstract boolean |
evaluate(java.lang.String value,
java.lang.String compareTo) |
static StringMatcher.StringOperatorName |
valueOf(java.lang.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(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 abstract boolean evaluate(java.lang.String value,
java.lang.String compareTo)
Copyright IBM Corp. 2024, 2025