| Enum Constant and Description |
|---|
CLOSE_CLOSE
Both closed
|
CLOSE_OPEN
Closed Left and Open Right
|
OPEN_CLOSE
Open Left and Closed Right
|
OPEN_OPEN
Both open
|
| Modifier and Type | Method and Description |
|---|---|
static RangeType |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static RangeType[] |
values()
Returns an array containing the constants of this enum type, in the order they are declared.
|
public static final RangeType CLOSE_CLOSE
Both closed
public static final RangeType CLOSE_OPEN
Closed Left and Open Right
public static final RangeType OPEN_CLOSE
Open Left and Closed Right
public static final RangeType OPEN_OPEN
Both open
public static RangeType[] values()
for (RangeType c : RangeType.values())
System.out.println(c);
public static RangeType valueOf(java.lang.String name)
name - the name of the enum constant to be returned.java.lang.IllegalArgumentException - if this enum type has no constant with the specified namejava.lang.NullPointerException - if the argument is null