Package org.dmg.pmml
Enum Interval.Closure
- java.lang.Object
-
- java.lang.Enum<Interval.Closure>
-
- org.dmg.pmml.Interval.Closure
-
- All Implemented Interfaces:
java.io.Serializable,java.lang.Comparable<Interval.Closure>,StringValue<Interval.Closure>
- Enclosing class:
- Interval
public static enum Interval.Closure extends java.lang.Enum<Interval.Closure> implements StringValue<Interval.Closure>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description CLOSED_CLOSEDCLOSED_OPENOPEN_CLOSEDOPEN_OPEN
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static Interval.ClosurefromValue(java.lang.String v)java.lang.StringtoString()java.lang.Stringvalue()static Interval.ClosurevalueOf(java.lang.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.
-
-
-
Enum Constant Detail
-
OPEN_CLOSED
public static final Interval.Closure OPEN_CLOSED
-
OPEN_OPEN
public static final Interval.Closure OPEN_OPEN
-
CLOSED_OPEN
public static final Interval.Closure CLOSED_OPEN
-
CLOSED_CLOSED
public static final Interval.Closure CLOSED_CLOSED
-
-
Method Detail
-
values
public static Interval.Closure[] 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 (Interval.Closure c : Interval.Closure.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static Interval.Closure valueOf(java.lang.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:
java.lang.IllegalArgumentException- if this enum type has no constant with the specified namejava.lang.NullPointerException- if the argument is null
-
value
public java.lang.String value()
- Specified by:
valuein interfaceStringValue<Interval.Closure>
-
fromValue
public static Interval.Closure fromValue(java.lang.String v)
-
toString
public java.lang.String toString()
- Overrides:
toStringin classjava.lang.Enum<Interval.Closure>
-
-