public enum BoundType extends java.lang.Enum<BoundType>
| Enum Constant and Description |
|---|
CLOSED |
OPEN
The endpoint value is not considered part of the set ("exclusive").
|
| Modifier and Type | Field and Description |
|---|---|
(package private) boolean |
inclusive |
| Modifier and Type | Method and Description |
|---|---|
(package private) static BoundType |
forBoolean(boolean inclusive)
Returns the bound type corresponding to a boolean value for inclusivity.
|
static BoundType |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static BoundType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final BoundType OPEN
public static final BoundType CLOSED
public static BoundType[] values()
for (BoundType c : BoundType.values()) System.out.println(c);
public static BoundType 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 nullstatic BoundType forBoolean(boolean inclusive)