org.eclipse.jgit.revwalk.RevObject subclasses.
| Modifier and Type | Class and Description |
|---|---|
| protected static class | RevObjectList.
One level of contents, either an intermediate level or a leaf level. |
| Modifier and Type | Field and Description |
|---|---|
| pack-priv static final int | |
| pack-priv static final int | |
| protected RevObjectList. | contents
Items stored in this list. |
| protected int | size
Current number of elements in the list. |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public void | add(int
index at which the specified element is to be inserted index, E element to be inserted element)Overrides java. Implements java. Inserts the specified element at the specified position in this list (optional operation). |
| public void | clear()
Overrides java. Implements java. Removes all of the elements from this list (optional operation). |
| public E | get(int
index of the element to return index)Implements abstract java. Implements java. Returns the element at the specified position in this list. |
| public E | set(int
index of the element to replace index, E element to be stored at the specified position element)Overrides java. Implements java. Replaces the element at the specified position in this list with the specified element (optional operation). |
| public int | size()
Implements abstract java. Implements java. Returns the number of elements in this list. |
| BLOCK_SHIFT | back to summary |
|---|---|
| pack-priv static final int BLOCK_SHIFT | |
| BLOCK_SIZE | back to summary |
|---|---|
| pack-priv static final int BLOCK_SIZE | |
| contents | back to summary |
|---|---|
| protected RevObjectList. Items stored in this list.
If | |
| size | back to summary |
|---|---|
| protected int size Current number of elements in the list. | |
| RevObjectList | back to summary |
|---|---|
| public RevObjectList() Create an empty object list. | |
| add | back to summary |
|---|---|
| public void add(int index, E element) Overrides java. Implements java. Doc from java. Inserts the specified element at the specified position in this list (optional operation). Shifts the element currently at that position (if any) and any subsequent elements to the right (adds one to their indices).
| |
| clear | back to summary |
|---|---|
| public void clear() Overrides java. Implements java. Doc from java. Removes all of the elements from this list (optional operation). The list will be empty after this call returns.
| |
| get | back to summary |
|---|---|
| public E get(int index) Implements abstract java. Implements java. Doc from java. Returns the element at the specified position in this list.
| |
| set | back to summary |
|---|---|
| public E set(int index, E element) Overrides java. Implements java. Doc from java. Replaces the element at the specified position in this list with the specified element (optional operation).
| |
| size | back to summary |
|---|---|
| public int size() Implements abstract java. Implements java. Doc from java. Returns the number of elements in this list. If this list contains
more than
| |
| Modifier and Type | Field and Description |
|---|---|
| pack-priv final Object[] | |
| pack-priv final int |
| Access | Constructor and Description |
|---|---|
| pack-priv |
| contents | back to summary |
|---|---|
| pack-priv final Object[] contents | |
| shift | back to summary |
|---|---|
| pack-priv final int shift | |
| Block | back to summary |
|---|---|
| pack-priv Block(int s) | |