public enum MatchesOperator extends Enum<MatchesOperator> implements Operator.SingleValue<String,String>
Operator.MultipleValue<A,B>, Operator.Register, Operator.SingleValue<A,B>Predicate2.Impl<A,B>| Enum Constant and Description |
|---|
INSTANCE |
| Modifier and Type | Method and Description |
|---|---|
boolean |
eval(String s1,
String s2) |
String |
getOperatorName() |
static MatchesOperator |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static MatchesOperator[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOftestisCompatibleWithType, requiresCoercionnegate, predicateInformationpublic static final MatchesOperator INSTANCE
public static MatchesOperator[] values()
for (MatchesOperator c : MatchesOperator.values()) System.out.println(c);
public static MatchesOperator 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 nullpublic boolean eval(String s1, String s2)
eval in interface Operator.SingleValue<String,String>public String getOperatorName()
getOperatorName in interface Operator<String,String>Copyright © 2001–2021 JBoss by Red Hat. All rights reserved.