public static enum ComparableFilter.Operator extends Enum<ComparableFilter.Operator>
Operator represents the type of property comparison operator.| Enum Constant and Description |
|---|
EQUAL_TO
The equal (==) operator.
|
GREATER_THAN
The greater-than (>) operator.
|
GREATER_THAN_OR_EQUAL_TO
The greater-than-or-equal (>=) operator.
|
LESS_THAN
The less-than (<) operator.
|
LESS_THAN_OR_EQUAL_TO
The less-than-or-equal-to (<=) operator.
|
NOT_EQUAL_TO
The not-equal (!=, <>) operator.
|
| Modifier and Type | Method and Description |
|---|---|
String |
toString()
Returns the
String representation of this operator. |
static ComparableFilter.Operator |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ComparableFilter.Operator[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ComparableFilter.Operator EQUAL_TO
public static final ComparableFilter.Operator NOT_EQUAL_TO
public static final ComparableFilter.Operator GREATER_THAN
public static final ComparableFilter.Operator GREATER_THAN_OR_EQUAL_TO
public static final ComparableFilter.Operator LESS_THAN
public static final ComparableFilter.Operator LESS_THAN_OR_EQUAL_TO
public static ComparableFilter.Operator[] values()
for (ComparableFilter.Operator c : ComparableFilter.Operator.values()) System.out.println(c);
public static ComparableFilter.Operator 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 String toString()
String representation of this operator.toString in class Enum<ComparableFilter.Operator>Copyright © 2009-2014 Eiichiro Uchiumi. All Rights Reserved.