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, setAttributesassociateValue, 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, sizepublic static NativeNumber valueOf(java.lang.Object number)
public java.lang.String getClassName()
ScriptableObjectgetClassName 在接口中 org.mozilla.javascript.ScriptablegetClassName 在类中 ScriptableObjectpublic 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.IdFunctionCallexecIdCall 在类中 org.mozilla.javascript.IdScriptableObjectpublic java.lang.String toString()
toString 在类中 java.lang.Objectpublic java.lang.Object getDefaultValue(java.lang.Class<?> typeHint)
ScriptableObjectNote 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.ScriptablegetDefaultValue 在类中 ScriptableObjecttypeHint - the type hint