程序包 bsh
类 Variable
java.lang.Object
bsh.Variable
- 所有已实现的接口:
Serializable
- 另请参阅:
-
方法概要
修饰符和类型方法说明getName()
getType()
A type of null means loosely typed variableboolean
hasModifier
(String name) void
Set the value of the typed variable.toString()
-
方法详细资料
-
setValue
Set the value of the typed variable.- 参数:
value
- should be an object or wrapped bsh Primitive type. if value is null the appropriate default value will be set for the type: e.g. false for boolean, zero for integer types.- 抛出:
UtilEvalError
-
getType
A type of null means loosely typed variable -
getTypeDescriptor
-
getModifiers
-
getName
-
hasModifier
-
toString
-