Environment for
DeveLoping
KDD-Applications
Supported by Index-Structures

de.lmu.ifi.dbs.elki.utilities.optionhandling.constraints
Enum IntervalConstraint.IntervalBoundary

java.lang.Object
  extended by java.lang.Enum<IntervalConstraint.IntervalBoundary>
      extended by 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
 
Method Summary
static IntervalConstraint.IntervalBoundary valueOf(String name)
          Returns the enum constant of this type with the specified name.
static IntervalConstraint.IntervalBoundary[] values()
          Returns an array containing the constants of this enum type, in the order they are declared.
 
Methods inherited from class java.lang.Enum
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Enum Constant Detail

OPEN

public static final IntervalConstraint.IntervalBoundary OPEN
Open interval boundary


CLOSE

public static final IntervalConstraint.IntervalBoundary CLOSE
Closed interval boundary

Method Detail

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

Release 0.2.1 (2009-07-13_1605)