Package de.bitgrip.ficum.node
Enum Comparison
- java.lang.Object
-
- java.lang.Enum<Comparison>
-
- de.bitgrip.ficum.node.Comparison
-
- All Implemented Interfaces:
java.io.Serializable,java.lang.Comparable<Comparison>
public enum Comparison extends java.lang.Enum<Comparison>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description EQUALSGREATER_EQUALSGREATER_THANININTERSECTLESS_EQUALSLESS_THANNEARNINNOT_EQUALSWITHIN
-
Field Summary
Fields Modifier and Type Field Description private static java.util.Map<java.lang.String,Comparison>lookupprivate java.lang.Stringsign
-
Constructor Summary
Constructors Modifier Constructor Description privateComparison(java.lang.String sign)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static java.lang.String[]allSigns()static Comparisonfrom(java.lang.String sign)java.lang.StringgetSign()static ComparisonvalueOf(java.lang.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.
-
-
-
Enum Constant Detail
-
EQUALS
public static final Comparison EQUALS
-
NOT_EQUALS
public static final Comparison NOT_EQUALS
-
GREATER_EQUALS
public static final Comparison GREATER_EQUALS
-
LESS_EQUALS
public static final Comparison LESS_EQUALS
-
GREATER_THAN
public static final Comparison GREATER_THAN
-
LESS_THAN
public static final Comparison LESS_THAN
-
IN
public static final Comparison IN
-
NIN
public static final Comparison NIN
-
NEAR
public static final Comparison NEAR
-
WITHIN
public static final Comparison WITHIN
-
INTERSECT
public static final Comparison INTERSECT
-
-
Field Detail
-
lookup
private static final java.util.Map<java.lang.String,Comparison> lookup
-
sign
private final java.lang.String sign
-
-
Method Detail
-
values
public static Comparison[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (Comparison c : Comparison.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static Comparison valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
name- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
java.lang.IllegalArgumentException- if this enum type has no constant with the specified namejava.lang.NullPointerException- if the argument is null
-
allSigns
public static java.lang.String[] allSigns()
-
from
public static Comparison from(java.lang.String sign)
-
getSign
public java.lang.String getSign()
-
-