|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD | |||||||||
java.lang.Objectjava.lang.Enum<NumberT.Kind>
xtc.type.NumberT.Kind
public static enum NumberT.Kind
The number kind.
| Enum Constant Summary | |
|---|---|
BYTE
A signed byte. |
|
CHAR
A char. |
|
DOUBLE
A double. |
|
DOUBLE_COMPLEX
A double complex. |
|
FLOAT
A float. |
|
FLOAT_COMPLEX
A float complex. |
|
INT
An int. |
|
LONG
A signed long. |
|
LONG_DOUBLE
A long double. |
|
LONG_DOUBLE_COMPLEX
A long double complex. |
|
LONG_LONG
A signed long long. |
|
S_CHAR
A signed char. |
|
S_INT
A signed int. |
|
SHORT
A signed short. |
|
U_CHAR
An unsigned char. |
|
U_INT
An unsigned int. |
|
U_LONG
An unsigned long. |
|
U_LONG_LONG
An unsigned long long. |
|
U_SHORT
An unsigned short. |
|
| Method Summary | |
|---|---|
static NumberT.Kind |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. |
static NumberT.Kind[] |
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 NumberT.Kind BYTE
public static final NumberT.Kind CHAR
public static final NumberT.Kind S_CHAR
public static final NumberT.Kind U_CHAR
public static final NumberT.Kind SHORT
public static final NumberT.Kind U_SHORT
public static final NumberT.Kind INT
int appearing by itself in a bit-field is
signed or unsigned. Hence we distinguish between ints and
signed ints. (Whatever.)
public static final NumberT.Kind S_INT
public static final NumberT.Kind U_INT
public static final NumberT.Kind LONG
public static final NumberT.Kind U_LONG
public static final NumberT.Kind LONG_LONG
public static final NumberT.Kind U_LONG_LONG
public static final NumberT.Kind FLOAT
public static final NumberT.Kind DOUBLE
public static final NumberT.Kind LONG_DOUBLE
public static final NumberT.Kind FLOAT_COMPLEX
public static final NumberT.Kind DOUBLE_COMPLEX
public static final NumberT.Kind LONG_DOUBLE_COMPLEX
| Method Detail |
|---|
public static NumberT.Kind[] values()
for (NumberT.Kind c : NumberT.Kind.values()) System.out.println(c);
public static NumberT.Kind valueOf(java.lang.String name)
name - the name of the enum constant to be returned.
java.lang.IllegalArgumentException - if this enum type has no constant
with the specified name
java.lang.NullPointerException - if the argument is null
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD | |||||||||