|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjava.util.AbstractCollection<E>
java.util.AbstractList<E>
java.util.ArrayList<Edit>
org.eclipse.jgit.diff.EditList
public class EditList
Specialized list of Edit
s in a document.
Field Summary |
---|
Fields inherited from class java.util.AbstractList |
---|
modCount |
Constructor Summary | |
---|---|
EditList()
Create a new, empty edit list. |
|
EditList(int capacity)
Create an empty edit list with the specified capacity. |
Method Summary | |
---|---|
static EditList |
singleton(Edit edit)
Construct an edit list containing a single edit. |
java.lang.String |
toString()
|
Methods inherited from class java.util.ArrayList |
---|
add, add, addAll, addAll, clear, clone, contains, ensureCapacity, get, indexOf, isEmpty, iterator, lastIndexOf, listIterator, listIterator, remove, remove, removeAll, removeRange, retainAll, set, size, subList, toArray, toArray, trimToSize |
Methods inherited from class java.util.AbstractList |
---|
equals, hashCode |
Methods inherited from class java.util.AbstractCollection |
---|
containsAll |
Methods inherited from class java.lang.Object |
---|
finalize, getClass, notify, notifyAll, wait, wait, wait |
Methods inherited from interface java.util.List |
---|
containsAll, equals, hashCode |
Constructor Detail |
---|
public EditList()
public EditList(int capacity)
capacity
- the initial capacity of the edit list. If additional edits are
added to the list, it will be grown to support them.Method Detail |
---|
public static EditList singleton(Edit edit)
edit
- the edit to return in the list.
edit
.public java.lang.String toString()
toString
in class java.util.AbstractCollection<Edit>
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |