E - type of subclass of RevObject the list is storing.public class RevObjectList<E extends RevObject> extends AbstractList<E>
RevObject subclasses.| Modifier and Type | Class and Description |
|---|---|
protected static class |
RevObjectList.Block
One level of contents, either an intermediate level or a leaf level.
|
| Modifier and Type | Field and Description |
|---|---|
protected RevObjectList.Block |
contents
Items stored in this list.
|
protected int |
size
Current number of elements in the list.
|
modCount| Constructor and Description |
|---|
RevObjectList()
Create an empty object list.
|
| Modifier and Type | Method and Description |
|---|---|
void |
add(int index,
E element) |
void |
clear() |
E |
get(int index) |
E |
set(int index,
E element) |
int |
size() |
add, addAll, equals, hashCode, indexOf, iterator, lastIndexOf, listIterator, listIterator, remove, removeRange, subListaddAll, contains, containsAll, isEmpty, remove, removeAll, retainAll, toArray, toArray, toStringprotected RevObjectList.Block contents
If RevObjectList.Block.shift = 0 this block holds the list elements; otherwise
it holds pointers to other RevObjectList.Block instances which use a shift that
is BLOCK_SHIFT smaller.
protected int size
Copyright © 2014. All rights reserved.