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