public enum MemberOfOperator extends Enum<MemberOfOperator> implements Operator.SingleValue<Object,Object>
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(Object a,
Object b) |
String |
getOperatorName() |
static MemberOfOperator |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static MemberOfOperator[] |
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 MemberOfOperator INSTANCE
public static MemberOfOperator[] values()
for (MemberOfOperator c : MemberOfOperator.values()) System.out.println(c);
public static MemberOfOperator 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(Object a, Object b)
eval in interface Operator.SingleValue<Object,Object>public String getOperatorName()
getOperatorName in interface Operator<Object,Object>Copyright © 2001–2021 JBoss by Red Hat. All rights reserved.