public static enum Range.Operator extends Enum<Range.Operator>
| Enum Constant and Description |
|---|
EQUALS |
GREATER_THAN |
GREATER_THAN_EQUAL |
LESS_THAN |
LESS_THAN_EQUAL |
NONE |
| Modifier and Type | Method and Description |
|---|---|
boolean |
compare(int a,
int b) |
static Range.Operator |
getById(int id) |
int |
getId() |
boolean |
includesEqual() |
Range.Operator |
invert() |
boolean |
isGreaterThanOrGreaterThanEqual() |
boolean |
isLessThanOrLessThanEqual() |
static Range.Operator |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Range.Operator[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Range.Operator EQUALS
public static final Range.Operator LESS_THAN_EQUAL
public static final Range.Operator GREATER_THAN_EQUAL
public static final Range.Operator LESS_THAN
public static final Range.Operator GREATER_THAN
public static final Range.Operator NONE
public static Range.Operator[] values()
for (Range.Operator c : Range.Operator.values()) System.out.println(c);
public static Range.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 static Range.Operator getById(int id)
public boolean isGreaterThanOrGreaterThanEqual()
public boolean isLessThanOrLessThanEqual()
public boolean includesEqual()
public int getId()
public boolean compare(int a,
int b)
public Range.Operator invert()
Copyright © 2018. All rights reserved.