|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |
java.lang.Object java.lang.Enum<NumberInterval.IntervalType> edu.nrao.sss.math.NumberInterval.IntervalType
public static enum NumberInterval.IntervalType
Indicates whether or not the endpoints are inside or outside an interval.
Enum Constant Summary | |
---|---|
CLOSED
Both endpoints are contained in the interval. |
|
LOW_CLOSED_HIGH_OPEN
The low endpoint is in the interval; the high endpoint is not. |
|
LOW_OPEN_HIGH_CLOSED
The low endpoint is not in the interval; the high endpoint is. |
|
OPEN
Neither endpoint is contained in the interval. |
Method Summary | |
---|---|
static NumberInterval.IntervalType |
valueOf(String name)
Returns the enum constant of this type with the specified name. |
static NumberInterval.IntervalType[] |
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 |
---|
public static final NumberInterval.IntervalType OPEN
public static final NumberInterval.IntervalType CLOSED
public static final NumberInterval.IntervalType LOW_CLOSED_HIGH_OPEN
public static final NumberInterval.IntervalType LOW_OPEN_HIGH_CLOSED
Method Detail |
---|
public static NumberInterval.IntervalType[] values()
for (NumberInterval.IntervalType c : NumberInterval.IntervalType.values()) System.out.println(c);
public static NumberInterval.IntervalType valueOf(String name)
name
- the name of the enum constant to be returned.
IllegalArgumentException
- if this enum type has no constant
with the specified name
NullPointerException
- if the argument is null
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |