Serializable, Cloneable, Iterable<Edit>, Collection<Edit>, List<Edit>, RandomAccesspublic class EditList extends ArrayList<Edit>
Edits 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() |
containsAllequals, hashCodeadd, 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, trimToSizeparallelStream, streamcontainsAll, equals, hashCodepublic 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.