public static final class V8Object.DefaultArray extends Object implements V8Object.Array
Constructor and Description |
---|
DefaultArray() |
DefaultArray(long[] references) |
Modifier and Type | Method and Description |
---|---|
long[] |
getContiguousReferences() |
V8Object.IndexIterator |
getIndexIterator() |
long |
getLength() |
long |
getReferenceAt(long index) |
boolean |
isContiguous() |
void |
putReferenceAt(long index,
long reference) |
public DefaultArray(long[] references)
public DefaultArray()
public void putReferenceAt(long index, long reference)
public long getReferenceAt(long index) throws NoSuchElementException
getReferenceAt
in interface V8Object.Array
NoSuchElementException
public V8Object.IndexIterator getIndexIterator()
getIndexIterator
in interface V8Object.Array
public boolean isContiguous()
isContiguous
in interface V8Object.Array
public long[] getContiguousReferences() throws UnsupportedOperationException
getContiguousReferences
in interface V8Object.Array
UnsupportedOperationException
public long getLength()
getLength
in interface V8Object.Array