|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
E - the type of compared elementspublic interface Patch<E>
A list of deltas between two versions.
| Method Summary | |
|---|---|
List<E> |
apply(List<E> target)
Apply the patch. |
List<E> |
restore(List<E> target)
Invert the patch. |
| Methods inherited from interface java.util.List |
|---|
add, add, addAll, addAll, clear, contains, containsAll, equals, get, hashCode, indexOf, isEmpty, iterator, lastIndexOf, listIterator, listIterator, remove, remove, removeAll, retainAll, set, size, subList, toArray, toArray |
| Method Detail |
|---|
List<E> apply(List<E> target)
throws PatchException
target - the list on which to apply the patch
PatchException - failed to apply the patch
List<E> restore(List<E> target)
throws PatchException
target - the list on which to apply an inverted version of the patch
PatchException - failed to apply the patch
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||