Java jdk.nashorn.internal.objects NativeArray fields, constructors, methods, implement or subclass

Example usage for Java jdk.nashorn.internal.objects NativeArray fields, constructors, methods, implement or subclass

Introduction

In this page you can find the methods, fields and constructors for jdk.nashorn.internal.objects NativeArray.

The text is from its open source code.

Method

Object[]asObjectArray()
Return the array contents upcasted as an ObjectArray, regardless of representation
NativeArrayconstruct(final boolean newObj, final Object self)
ECMA 15.4.2.2 new Array (len) Specialized constructor for zero arguments - empty array
NativeArrayconstruct(final boolean newObj, final Object self, final Object... args)
ECMA 15.4.2.2 new Array (len)
Objectconstruct(final boolean newObj, final Object self, final boolean element)
ECMA 15.4.2.2 new Array (len) Specialized constructor for zero arguments - empty array
NativeArrayconstruct(final boolean newObj, final Object self, final int length)
ECMA 15.4.2.2 new Array (len) Specialized constructor for one integer argument (length)
NativeArrayconstruct(final boolean newObj, final Object self, final long length)
ECMA 15.4.2.2 new Array (len) Specialized constructor for one long argument (length)
NativeArrayconstruct(final boolean newObj, final Object self, final double length)
ECMA 15.4.2.2 new Array (len) Specialized constructor for one double argument (length)
Objectget(final Object key)
ArrayDatagetArray()
Get the ArrayData for this ScriptObject if it is an array
ObjectgetLength()
Objectpop(final Object self)
ECMA 15.4.4.6 Array.prototype.pop ()
doublepush(final Object self, final int arg)
ECMA 15.4.4.7 Array.prototype.push (args...) Primitive specialization, LinkLogic
doublepush(final Object self, final long arg)
ECMA 15.4.4.7 Array.prototype.push (args...) Primitive specialization, LinkLogic
doublepush(final Object self, final double arg)
ECMA 15.4.4.7 Array.prototype.push (args...) Primitive specialization, LinkLogic
Objectpush(final Object self, final Object... args)
ECMA 15.4.4.7 Array.prototype.push (args...)
doublepush(final Object self, final Object arg)
ECMA 15.4.4.7 Array.prototype.push (args...) specialized for single object argument
voidset(final Object key, final int value, final int callSiteFlags)
intsize()
Return the size of the ScriptObject - i.e.
IteratorvalueIterator()
Return a property value iterator.
Collectionvalues()
Return the values of the properties in the ScriptObject (java.util.Map-like method to help ScriptObjectMirror implementation)