org.eclipse.jgit.diff
Class EditList

java.lang.Object
  extended by java.util.AbstractCollection<E>
      extended by java.util.AbstractList<Edit>
          extended by org.eclipse.jgit.diff.EditList
All Implemented Interfaces:
java.lang.Iterable<Edit>, java.util.Collection<Edit>, java.util.List<Edit>

public class EditList
extends java.util.AbstractList<Edit>

Specialized list of Edits in a document.


Field Summary
 
Fields inherited from class java.util.AbstractList
modCount
 
Constructor Summary
EditList()
          Create a new, empty edit list.
 
Method Summary
 void add(int index, Edit element)
           
 boolean equals(java.lang.Object o)
           
 Edit get(int index)
           
 int hashCode()
           
 Edit remove(int index)
           
 Edit set(int index, Edit element)
           
 int size()
           
 java.lang.String toString()
           
 
Methods inherited from class java.util.AbstractList
add, addAll, clear, indexOf, iterator, lastIndexOf, listIterator, listIterator, removeRange, subList
 
Methods inherited from class java.util.AbstractCollection
addAll, contains, containsAll, isEmpty, remove, removeAll, retainAll, toArray, toArray
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface java.util.List
addAll, contains, containsAll, isEmpty, remove, removeAll, retainAll, toArray, toArray
 

Constructor Detail

EditList

public EditList()
Create a new, empty edit list.

Method Detail

size

public int size()
Specified by:
size in interface java.util.Collection<Edit>
Specified by:
size in interface java.util.List<Edit>
Specified by:
size in class java.util.AbstractCollection<Edit>

get

public Edit get(int index)
Specified by:
get in interface java.util.List<Edit>
Specified by:
get in class java.util.AbstractList<Edit>

set

public Edit set(int index,
                Edit element)
Specified by:
set in interface java.util.List<Edit>
Overrides:
set in class java.util.AbstractList<Edit>

add

public void add(int index,
                Edit element)
Specified by:
add in interface java.util.List<Edit>
Overrides:
add in class java.util.AbstractList<Edit>

remove

public Edit remove(int index)
Specified by:
remove in interface java.util.List<Edit>
Overrides:
remove in class java.util.AbstractList<Edit>

hashCode

public int hashCode()
Specified by:
hashCode in interface java.util.Collection<Edit>
Specified by:
hashCode in interface java.util.List<Edit>
Overrides:
hashCode in class java.util.AbstractList<Edit>

equals

public boolean equals(java.lang.Object o)
Specified by:
equals in interface java.util.Collection<Edit>
Specified by:
equals in interface java.util.List<Edit>
Overrides:
equals in class java.util.AbstractList<Edit>

toString

public java.lang.String toString()
Overrides:
toString in class java.util.AbstractCollection<Edit>