Serializable
, Cloneable
, Iterable<Edit>
, Collection<Edit>
, List<Edit>
, RandomAccess
public class EditList extends ArrayList<Edit>
Edit
s in a document.modCount
Constructor | Description |
---|---|
EditList() |
Create a new, empty edit list.
|
EditList(int capacity) |
Create an empty edit list with the specified capacity.
|
Modifier and Type | Method | Description |
---|---|---|
static EditList |
singleton(Edit edit) |
Construct an edit list containing a single edit.
|
String |
toString() |
containsAll
equals, hashCode
add, add, addAll, addAll, clear, clone, contains, ensureCapacity, forEach, get, indexOf, isEmpty, iterator, lastIndexOf, listIterator, listIterator, remove, remove, removeAll, removeIf, removeRange, replaceAll, retainAll, set, size, sort, spliterator, subList, toArray, toArray, trimToSize
parallelStream, stream
containsAll, equals, hashCode
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.Copyright © 2018. All rights reserved.