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, subList
addAll, contains, containsAll, isEmpty, remove, removeAll, retainAll, toArray, toArray, toString
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
addAll, contains, containsAll, isEmpty, remove, removeAll, replaceAll, retainAll, sort, spliterator, toArray, toArray
parallelStream, removeIf, stream
protected 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 © 2020 Eclipse JGit Project. All rights reserved.