类的使用
bsh.Primitive
使用Primitive的程序包
-
bsh中Primitive的使用
修饰符和类型字段说明static final Primitive
Primitive.NULL
static final Primitive
Primitive.VOID
VOID means "no type".修饰符和类型方法说明Primitive.castToType
(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
(Class type) Get the appropriate default value per JLS 4.5.4static Primitive
Primitive.unaryOperation
(Primitive val, int kind)