T
- The type of the compared elements in the 'lines'.public class Patch<T> extends Object
Describes the patch holding all deltas between the original and revised texts.
Constructor and Description |
---|
Patch() |
public List<T> applyTo(List<T> target) throws IllegalStateException
target
- the list to patchIllegalStateException
- if can't apply patchpublic void addDelta(Delta<T> delta)
delta
- the given deltaCopyright © 2014–2019 AssertJ. All rights reserved.