| Package | Description |
|---|---|
| xtc.type |
| Modifier and Type | Field and Description |
|---|---|
protected NumberT.Kind |
NumberT.kind
The kind.
|
protected static NumberT.Kind |
C.KIND_PTR_DIFF
The integer kind of the pointer difference type.
|
protected static NumberT.Kind |
C.KIND_SIZEOF
The integer kind of the sizeof type.
|
protected static NumberT.Kind |
C.KIND_WCHAR
The number kind of the wchar_t type.
|
| Modifier and Type | Method and Description |
|---|---|
static NumberT.Kind |
IntegerT.fromRank(int rank,
boolean signed)
Convert the specified rank to the corresponding integer kind.
|
NumberT.Kind |
NumberT.getKind()
Get the kind.
|
static NumberT.Kind |
NumberT.Kind.valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static NumberT.Kind[] |
NumberT.Kind.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
| Modifier and Type | Method and Description |
|---|---|
static boolean |
NumberT.equal(NumberT.Kind k1,
NumberT.Kind k2)
Determine whether the specified kinds equal each other.
|
static boolean |
NumberT.equalIgnoringSign(NumberT.Kind k1,
NumberT.Kind k2)
Determine whether the specified kinds equal each other, modulo
their signs.
|
boolean |
NumberT.hasKind(NumberT.Kind kind)
Determine whether this number has the specified kind.
|
| Constructor and Description |
|---|
FloatT(NumberT.Kind kind)
Create a new floating point type.
|
FloatT(Type template,
NumberT.Kind kind)
Create a new flaoting point type.
|
IntegerT(NumberT.Kind kind)
Create a new integer type.
|
IntegerT(Type template,
NumberT.Kind kind)
Create a new integer type.
|
NumberT(NumberT.Kind kind)
Create a new number type.
|
NumberT(Type template,
NumberT.Kind kind)
Create a new number type.
|
Copyright © 2014. All Rights Reserved.