|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD | |||||||||
ObjectEnum<NumberSet>
NumberSet
public enum NumberSet
An enumeration for a few common number set (Natural, real). This enumeration is ordered: each set contains fully the set declared before.
| utility/geotk-utility (download) | View source code for this class |
| Enum Constant Summary | |
|---|---|
INTEGER
The set of positive and negative integers (ℤ). |
|
NATURAL
The set of positive integers (⅕), including zero. |
|
RATIONAL
The set of rational numbers (ℚ). |
|
REAL
The set of real numbers (ℝ). |
|
| Field Summary | |
|---|---|
char |
symbol
The symbol for this set (⅕, ℤ, ℚ or ℝ). |
| Method Summary | |
|---|---|
static NumberSet |
valueOf(String name)
Returns the enum constant of this type with the specified name. |
static NumberSet[] |
values()
Returns an array containing the constants of this enum type, in the order they are declared. |
| Methods inherited from class Enum |
|---|
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf |
| Methods inherited from class Object |
|---|
getClass, notify, notifyAll, wait, wait, wait |
| Enum Constant Detail |
|---|
public static final NumberSet NATURAL
public static final NumberSet INTEGER
public static final NumberSet RATIONAL
public static final NumberSet REAL
| Field Detail |
|---|
public final char symbol
| Method Detail |
|---|
public static NumberSet[] values()
for (NumberSet c : NumberSet.values()) System.out.println(c);
public static NumberSet 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 | |||||||||