public static enum Interval.Closure extends Enum<Interval.Closure>
Interval
element.Enum Constant and Description |
---|
closedClosed
The interval is of the form [leftMargin,rightMargin]
|
closedOpen
The interval is of the form [leftMargin,rightMargin)
|
openClosed
The interval is of the form (leftMargin,rightMargin]
|
openOpen
The interval is of the form (leftMargin,rightMargin)
|
Modifier and Type | Method and Description |
---|---|
static Interval.Closure |
closure(boolean fromClosed,
boolean toClosed)
Returns a closure for the given parameters
|
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 openClosed
public static final Interval.Closure openOpen
public static final Interval.Closure closedOpen
public static final Interval.Closure closedClosed
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 static Interval.Closure closure(boolean fromClosed, boolean toClosed)
fromClosed
- whether the from side is closedtoClosed
- whether the to side is closedCopyright © 2019 Actian Corporation. All rights reserved.