public enum ContainmentMode extends java.lang.Enum<ContainmentMode>
| Enum Constant and Description |
|---|
EXACT_PHRASE
The comparison is between an exact phrase in the string and the constant.
|
FULL_STRING
The comparison is between the full string and the constant.
|
NONE
None.
|
PREFIX_ON_WORDS
The comparison is between a prefix on individual words in the string and the constant.
|
PREFIXED
The comparison is between the string prefix and the constant.
|
SUBSTRING
The comparison is between a substring of the string and the constant.
|
| Modifier and Type | Method and Description |
|---|---|
static ContainmentMode |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static ContainmentMode[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ContainmentMode FULL_STRING
public static final ContainmentMode PREFIXED
public static final ContainmentMode SUBSTRING
public static final ContainmentMode PREFIX_ON_WORDS
public static final ContainmentMode EXACT_PHRASE
public static final ContainmentMode NONE
public static ContainmentMode[] values()
for (ContainmentMode c : ContainmentMode.values()) System.out.println(c);
public static ContainmentMode 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 null