de.lmu.ifi.dbs.elki.utilities.optionhandling.constraints
Enum IntervalConstraint.IntervalBoundary
java.lang.Object
java.lang.Enum<IntervalConstraint.IntervalBoundary>
de.lmu.ifi.dbs.elki.utilities.optionhandling.constraints.IntervalConstraint.IntervalBoundary
- All Implemented Interfaces:
- Serializable, Comparable<IntervalConstraint.IntervalBoundary>
- Enclosing class:
- IntervalConstraint
public static enum IntervalConstraint.IntervalBoundary
- extends Enum<IntervalConstraint.IntervalBoundary>
Available interval boundary types types:
OPEN
denotes an opend interval,
i.e. less than (or greater than) comparison
CLOSE
denotes a closed interval,
i.e. an equal to or less than (or equal to or greater than) comparison
Enum Constant Summary |
CLOSE
Closed interval boundary |
OPEN
Open interval boundary |
OPEN
public static final IntervalConstraint.IntervalBoundary OPEN
- Open interval boundary
CLOSE
public static final IntervalConstraint.IntervalBoundary CLOSE
- Closed interval boundary
values
public static IntervalConstraint.IntervalBoundary[] values()
- Returns an array containing the constants of this enum type, in
the order they are declared. This method may be used to iterate
over the constants as follows:
for (IntervalConstraint.IntervalBoundary c : IntervalConstraint.IntervalBoundary.values())
System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in
the order they are declared
valueOf
public static IntervalConstraint.IntervalBoundary valueOf(String name)
- Returns the enum constant of this type with the specified name.
The string must match exactly an identifier used to declare an
enum constant in this type. (Extraneous whitespace characters are
not permitted.)
- Parameters:
name
- the name of the enum constant to be returned.
- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException
- if this enum type has no constant
with the specified name
NullPointerException
- if the argument is null