public enum Comparison extends Enum<Comparison>
| Enum Constant and Description |
|---|
EQUALS |
GREATER_EQUALS |
GREATER_THAN |
IN |
INTERSECT |
LESS_EQUALS |
LESS_THAN |
NEAR |
NIN |
NOT_EQUALS |
WITHIN |
| Modifier and Type | Field and Description |
|---|---|
private static Map<String,Comparison> |
lookup |
private String |
sign |
| Modifier and Type | Method and Description |
|---|---|
static String[] |
allSigns() |
static Comparison |
from(String sign) |
String |
getSign() |
static Comparison |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Comparison[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Comparison EQUALS
public static final Comparison NOT_EQUALS
public static final Comparison GREATER_EQUALS
public static final Comparison LESS_EQUALS
public static final Comparison GREATER_THAN
public static final Comparison LESS_THAN
public static final Comparison IN
public static final Comparison NIN
public static final Comparison NEAR
public static final Comparison WITHIN
public static final Comparison INTERSECT
private static final Map<String,Comparison> lookup
private final String sign
public static Comparison[] values()
for (Comparison c : Comparison.values()) System.out.println(c);
public static Comparison 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 String[] allSigns()
public static Comparison from(String sign)
public String getSign()
Copyright © 2019. All rights reserved.