public enum IntervalEndPoint extends Enum<IntervalEndPoint>
Enum Constant and Description |
---|
CLOSED
The end point of an interval is closed.
|
OPEN
The end point of an interval is open.
|
Modifier and Type | Method and Description |
---|---|
static IntervalEndPoint |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static IntervalEndPoint[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final IntervalEndPoint OPEN
public static final IntervalEndPoint CLOSED
public static IntervalEndPoint[] values()
for (IntervalEndPoint c : IntervalEndPoint.values()) System.out.println(c);
public static IntervalEndPoint 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 © 2023. All rights reserved.