public enum IntervalSetRule extends java.lang.Enum<IntervalSetRule>
Enum Constant and Description |
---|
INTERSECTION
Take the intersection of intervals (the subset that overlaps all intervals specified)
|
UNION
Take the union of all intervals
|
Modifier and Type | Method and Description |
---|---|
static IntervalSetRule |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static IntervalSetRule[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final IntervalSetRule UNION
public static final IntervalSetRule INTERSECTION
public static IntervalSetRule[] values()
for (IntervalSetRule c : IntervalSetRule.values()) System.out.println(c);
public static IntervalSetRule 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 null