public enum PredicateQuantifier extends Enum<PredicateQuantifier>
Enum Constant and Description |
---|
ALL
"All" predicate quantifier
|
ANY
"Any" predicate quantifier (equivalent to "Some")
|
SOME
"Some" predicate quantifier (equivalent to "Any")
|
Modifier and Type | Method and Description |
---|---|
static PredicateQuantifier |
findPredicateQuantifier(String name) |
static PredicateQuantifier |
findQuantifier(int quantifier) |
int |
getQuantifier() |
static PredicateQuantifier |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static PredicateQuantifier[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final PredicateQuantifier SOME
public static final PredicateQuantifier ANY
public static final PredicateQuantifier ALL
public static PredicateQuantifier[] values()
for (PredicateQuantifier c : PredicateQuantifier.values()) System.out.println(c);
public static PredicateQuantifier 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 int getQuantifier()
public static PredicateQuantifier findQuantifier(int quantifier)
quantifier
- PredicateQuantifier
with the given quantifier indexpublic static PredicateQuantifier findPredicateQuantifier(String name)
name
- Copyright © 2013–2019. All rights reserved.