public static enum StringFilter.Type extends Enum<StringFilter.Type>
Enum Constant and Description |
---|
CONTAINS_CASE_SENSITIVE |
CONTAINS_IGNORE_CASE |
ENDS_WITH_CASE_SENSITIVE |
ENDS_WITH_IGNORE_CASE |
STARTS_WITH_CASE_SENSITIVE |
STARTS_WITH_IGNORE_CASE |
Modifier and Type | Method and Description |
---|---|
abstract boolean |
test(String s,
String sequence) |
static StringFilter.Type |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static StringFilter.Type[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final StringFilter.Type CONTAINS_IGNORE_CASE
public static final StringFilter.Type CONTAINS_CASE_SENSITIVE
public static final StringFilter.Type STARTS_WITH_IGNORE_CASE
public static final StringFilter.Type STARTS_WITH_CASE_SENSITIVE
public static final StringFilter.Type ENDS_WITH_IGNORE_CASE
public static final StringFilter.Type ENDS_WITH_CASE_SENSITIVE
public static StringFilter.Type[] values()
for (StringFilter.Type c : StringFilter.Type.values()) System.out.println(c);
public static StringFilter.Type 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 © 2018 Xalys. All rights reserved.