public abstract class Array<V> extends Object implements IndexedAccess<V>
| Modifier and Type | Class and Description |
|---|---|
protected class |
Array.ArrayState |
protected static class |
Array.Empty<V>
Empty is a singleton object representing the empty array.
|
protected static class |
Array.References<V>
A references array contains references to References or, at height 2, Values.
|
protected static class |
Array.Values<V>
A values array contains actual data.
|
| Modifier and Type | Field and Description |
|---|---|
static Array |
EMPTY
An empty array suitable for growing.
|
| Constructor and Description |
|---|
Array() |
| Modifier and Type | Method and Description |
|---|---|
protected abstract Array.ArrayState |
getNext(int index,
Stack<Array.ArrayState> stack) |
protected abstract Array.ArrayState |
getPrev(int index,
Stack<Array.ArrayState> stack) |
static Array |
newArray(int size,
Object initialValue) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitfind, get, setcontains, isEmpty, iterator, reverseIterator, reverseVisit, reverseVisit, size, visit, visitpublic static final Array EMPTY
protected abstract Array.ArrayState getNext(int index, Stack<Array.ArrayState> stack)
protected abstract Array.ArrayState getPrev(int index, Stack<Array.ArrayState> stack)
Copyright © 2015. All rights reserved.