public static enum Interval.Bounded extends Enum<Interval.Bounded>
| Enum Constant and Description |
|---|
CLOSED
An interval, in which both start and end point are inclusive.
|
CLOSED_LEFT
An interval, in which the start is inclusive and the end is exclusive.
|
CLOSED_RIGHT
An interval, in which the start is exclusive and the end is inclusive.
|
OPEN
An interval, in which both start and end point are exclusive.
|
| Modifier and Type | Method and Description |
|---|---|
static Interval.Bounded |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Interval.Bounded[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Interval.Bounded OPEN
public static final Interval.Bounded CLOSED
public static final Interval.Bounded CLOSED_RIGHT
public static final Interval.Bounded CLOSED_LEFT
public static Interval.Bounded[] values()
for (Interval.Bounded c : Interval.Bounded.values()) System.out.println(c);
public static Interval.Bounded 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 nullCopyright © 2016. All rights reserved.