public static enum Sense.Predicate extends Enum<Sense.Predicate>
| Enum Constant and Description |
|---|
DEFAULT |
EQUAL |
GREATER |
GREATER_OR_EQUAL |
LOWER |
LOWER_OR_EQUAL |
NOT_EQUAL |
| Modifier and Type | Method and Description |
|---|---|
int |
getId()
Get integer id of predicate.
|
static Sense.Predicate |
getPredicate(String str)
Get Predicate enum from passed string
|
static Sense.Predicate[] |
getPredicates()
Get all predicates, without
DEFAULT. |
String |
toString() |
static Sense.Predicate |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Sense.Predicate[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Sense.Predicate EQUAL
public static final Sense.Predicate NOT_EQUAL
public static final Sense.Predicate LOWER
public static final Sense.Predicate GREATER
public static final Sense.Predicate LOWER_OR_EQUAL
public static final Sense.Predicate GREATER_OR_EQUAL
public static final Sense.Predicate DEFAULT
public static Sense.Predicate[] values()
for (Sense.Predicate c : Sense.Predicate.values()) System.out.println(c);
public static Sense.Predicate 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 static Sense.Predicate getPredicate(String str)
str - passed predicate in string formpublic int getId()
public String toString()
toString in class Enum<Sense.Predicate>public static Sense.Predicate[] getPredicates()
DEFAULT.Copyright © 2018 AMIS research group, Faculty of Mathematics and Physics, Charles University in Prague, Czech Republic. All rights reserved.