public final class NativeNumber
extends org.mozilla.javascript.IdScriptableObject
CONST, DONTENUM, EMPTY, PERMANENT, READONLY, UNINITIALIZED_CONST
限定符和类型 | 方法和说明 |
---|---|
java.lang.Object |
execIdCall(org.mozilla.javascript.IdFunctionObject f,
Context cx,
org.mozilla.javascript.Scriptable scope,
org.mozilla.javascript.Scriptable thisObj,
java.lang.Object[] args) |
java.lang.String |
getClassName()
Return the name of the class.
|
java.lang.Object |
getDefaultValue(java.lang.Class<?> typeHint)
Implements the [[DefaultValue]] internal method.
|
java.lang.String |
toString() |
static NativeNumber |
valueOf(java.lang.Object number) |
activatePrototypeMap, defineOwnProperty, delete, exportAsJSClass, get, getAttributes, has, hasPrototypeMap, initPrototypeConstructor, initPrototypeMethod, initPrototypeValue, put, setAttributes
associateValue, avoidObjectDetection, callMethod, callMethod, defineClass, defineClass, defineClass, defineConst, defineConstProperty, defineFunctionProperties, defineOwnProperties, defineProperty, defineProperty, defineProperty, defineProperty, delete, deleteProperty, deleteProperty, get, get, getAllIds, getArrayPrototype, getAssociatedValue, getAttributes, getAttributes, getAttributes, getClassPrototype, getDefaultValue, getExternalArrayData, getExternalArrayLength, getFunctionPrototype, getGetterOrSetter, getIds, getObjectPrototype, getParentScope, getProperty, getProperty, getPropertyIds, getPrototype, getTopLevelScope, getTopScopeValue, getTypedProperty, getTypedProperty, getTypeOf, has, hasInstance, hasProperty, hasProperty, isConst, isEmpty, isExtensible, isSealed, preventExtensions, put, putConst, putConstProperty, putProperty, putProperty, redefineProperty, sealObject, setAttributes, setAttributes, setAttributes, setExternalArrayData, setGetterOrSetter, setParentScope, setPrototype, size
public static NativeNumber valueOf(java.lang.Object number)
public java.lang.String getClassName()
ScriptableObject
getClassName
在接口中 org.mozilla.javascript.Scriptable
getClassName
在类中 ScriptableObject
public java.lang.Object execIdCall(org.mozilla.javascript.IdFunctionObject f, Context cx, org.mozilla.javascript.Scriptable scope, org.mozilla.javascript.Scriptable thisObj, java.lang.Object[] args)
execIdCall
在接口中 org.mozilla.javascript.IdFunctionCall
execIdCall
在类中 org.mozilla.javascript.IdScriptableObject
public java.lang.String toString()
toString
在类中 java.lang.Object
public java.lang.Object getDefaultValue(java.lang.Class<?> typeHint)
ScriptableObject
Note that the toPrimitive conversion is a no-op for every type other than Object, for which [[DefaultValue]] is called. See ECMA 9.1.
A hint
of null means "no hint".
getDefaultValue
在接口中 org.mozilla.javascript.Scriptable
getDefaultValue
在类中 ScriptableObject
typeHint
- the type hint