public enum StringStartsWithOperator extends Enum<StringStartsWithOperator> 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 StringStartsWithOperator |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static StringStartsWithOperator[] |
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 StringStartsWithOperator INSTANCE
public static StringStartsWithOperator[] values()
for (StringStartsWithOperator c : StringStartsWithOperator.values()) System.out.println(c);
public static StringStartsWithOperator 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–2020 JBoss by Red Hat. All rights reserved.