public enum MvelPredicate extends java.lang.Enum<MvelPredicate> implements com.google.common.base.Predicate<java.lang.String>
Enum Constant and Description |
---|
INSTANCE |
Modifier and Type | Method and Description |
---|---|
boolean |
apply(java.lang.String s) |
static MvelPredicate |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static MvelPredicate[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final MvelPredicate INSTANCE
public static MvelPredicate[] values()
for (MvelPredicate c : MvelPredicate.values()) System.out.println(c);
public static MvelPredicate valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is nullpublic boolean apply(java.lang.String s)
apply
in interface com.google.common.base.Predicate<java.lang.String>
Copyright © 2014 Red Hat. All Rights Reserved.