| Enum Constant and Description |
|---|
CONTAINS |
ENDS_WITH |
EQUALS |
MATCHES |
STARTS_WITH |
| Modifier and Type | Method and Description |
|---|---|
boolean |
matches(java.lang.String value,
java.lang.String checkThis) |
static boolean |
matchesAll(java.lang.String value,
java.lang.String checkThis,
Matching... matchers) |
static boolean |
matchesAny(java.lang.String value,
java.lang.String checkThis,
Matching... matchers) |
static java.util.Set<java.lang.String> |
matchingValuesAll(java.util.Collection<java.lang.String> values,
java.lang.String checkThis,
Matching... matchers) |
static java.util.Set<java.lang.String> |
matchingValuesAny(java.util.Collection<java.lang.String> values,
java.lang.String checkThis,
Matching... matchers) |
static Matching |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static Matching[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Matching CONTAINS
public static final Matching ENDS_WITH
public static final Matching EQUALS
public static final Matching MATCHES
public static final Matching STARTS_WITH
public static Matching[] values()
for (Matching c : Matching.values()) System.out.println(c);
public static Matching 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 static boolean matchesAll(java.lang.String value,
java.lang.String checkThis,
Matching... matchers)
public static boolean matchesAny(java.lang.String value,
java.lang.String checkThis,
Matching... matchers)
public static java.util.Set<java.lang.String> matchingValuesAll(java.util.Collection<java.lang.String> values,
java.lang.String checkThis,
Matching... matchers)
public static java.util.Set<java.lang.String> matchingValuesAny(java.util.Collection<java.lang.String> values,
java.lang.String checkThis,
Matching... matchers)
public boolean matches(java.lang.String value,
java.lang.String checkThis)