Package | Description |
---|---|
bsh |
Modifier and Type | Field | Description |
---|---|---|
static Primitive |
Primitive.FALSE |
|
static Primitive |
Primitive.NULL |
|
static Primitive |
Primitive.TRUE |
|
static Primitive |
Primitive.VOID |
VOID means "no type".
|
Modifier and Type | Method | Description |
---|---|---|
Primitive |
Primitive.castToType(java.lang.Class toType,
int operation) |
Cast this bsh.Primitive value to a new bsh.Primitive value
This is usually a numeric type cast.
|
static Primitive |
Primitive.getDefaultValue(java.lang.Class type) |
Get the appropriate default value per JLS 4.5.4
|
static Primitive |
Primitive.unaryOperation(Primitive val,
int kind) |
Modifier and Type | Method | Description |
---|---|---|
static Primitive |
Primitive.unaryOperation(Primitive val,
int kind) |
? 2000-2005 pat@pat.net :-)