public static enum Interval.Closure extends Enum<Interval.Closure> implements StringValue<Interval.Closure>
| Enum Constant and Description |
|---|
CLOSED_CLOSED |
CLOSED_OPEN |
OPEN_CLOSED |
OPEN_OPEN |
| Modifier and Type | Method and Description |
|---|---|
static Interval.Closure |
fromValue(String v) |
String |
toString() |
String |
value() |
static Interval.Closure |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Interval.Closure[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Interval.Closure OPEN_CLOSED
public static final Interval.Closure OPEN_OPEN
public static final Interval.Closure CLOSED_OPEN
public static final Interval.Closure CLOSED_CLOSED
public static Interval.Closure[] values()
for (Interval.Closure c : Interval.Closure.values()) System.out.println(c);
public static Interval.Closure 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 String value()
value in interface StringValue<Interval.Closure>public static Interval.Closure fromValue(String v)
public String toString()
toString in class Enum<Interval.Closure>Copyright © 2024. All rights reserved.