E
- the type of elements that are compared to produce the first level diffF
- the type of sub-element that are compared to produce the second level diffpublic class UnifiedDiffBlock<E,F> extends ArrayList<UnifiedDiffElement<E,F>>
UnifiedDiffElement
s that share the same context. The context is defined based on the
distance between changes. Changes that are close to each other are grouped in a single block. A block can contain
both added and removed elements. Blocks also contain unmodified elements that put changes in context.modCount
Constructor and Description |
---|
UnifiedDiffBlock() |
Modifier and Type | Method and Description |
---|---|
int |
getNextSize() |
int |
getNextStart() |
int |
getPreviousSize() |
int |
getPreviousStart() |
String |
toString() |
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
equals, hashCode
containsAll
finalize, getClass, notify, notifyAll, wait, wait, wait
containsAll, equals, hashCode
public int getPreviousStart()
public int getPreviousSize()
public int getNextStart()
public int getNextSize()
public String toString()
toString
in class AbstractCollection<UnifiedDiffElement<E,F>>
Copyright © 2004–2015 XWiki. All rights reserved.