public static enum ValidatorUtil.Operator extends Enum<ValidatorUtil.Operator>
Enum Constant and Description |
---|
CONTAINS
|
ENDS_WITH
Uses
String.endsWith(String) )}. |
EQUALS
Uses
String.equals(Object) . |
EXISTS
A part exists.
|
MATCHES
Uses
String.matches(String) . |
STARTS_WITH
|
Modifier and Type | Method and Description |
---|---|
static ValidatorUtil.Operator |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ValidatorUtil.Operator[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ValidatorUtil.Operator EQUALS
String.equals(Object)
.public static final ValidatorUtil.Operator MATCHES
String.matches(String)
.public static final ValidatorUtil.Operator STARTS_WITH
public static final ValidatorUtil.Operator CONTAINS
public static final ValidatorUtil.Operator ENDS_WITH
String.endsWith(String)
)}.public static final ValidatorUtil.Operator EXISTS
public static ValidatorUtil.Operator[] values()
for (ValidatorUtil.Operator c : ValidatorUtil.Operator.values()) System.out.println(c);
public static ValidatorUtil.Operator 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 © 2010–2017 PerfCake Community. All rights reserved.