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