public enum StringComparisonType extends java.lang.Enum<StringComparisonType>
| Enum Constant and Description |
|---|
CONTAINS |
EXACT |
STARTS_WITH |
| Modifier and Type | Method and Description |
|---|---|
static StringComparisonType |
fromValue(java.lang.String value)
Use this in place of valueOf.
|
java.lang.String |
toString() |
static StringComparisonType |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static StringComparisonType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final StringComparisonType STARTS_WITH
public static final StringComparisonType CONTAINS
public static final StringComparisonType EXACT
public static StringComparisonType[] values()
for (StringComparisonType c : StringComparisonType.values()) System.out.println(c);
public static StringComparisonType 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 toString()
toString in class java.lang.Enum<StringComparisonType>public static StringComparisonType fromValue(java.lang.String value)
value - real value