Package | Description |
---|---|
org.jboss.errai.otec.client.util |
Modifier and Type | Method and Description |
---|---|
LinkedList<DiffPatchMerge.Patch> |
DiffPatchMerge.patch_deepCopy(LinkedList<DiffPatchMerge.Patch> patches)
Given an array of patches, return another array that is identical.
|
LinkedList<DiffPatchMerge.Patch> |
DiffPatchMerge.patch_make(LinkedList<DiffPatchMerge.Diff> diffs)
Compute a list of patches to turn text1 into text2.
|
LinkedList<DiffPatchMerge.Patch> |
DiffPatchMerge.patch_make(String text1,
LinkedList<DiffPatchMerge.Diff> diffs)
Compute a list of patches to turn text1 into text2.
|
LinkedList<DiffPatchMerge.Patch> |
DiffPatchMerge.patch_make(String text1,
String text2)
Compute a list of patches to turn text1 into text2.
|
LinkedList<DiffPatchMerge.Patch> |
DiffPatchMerge.patch_make(String text1,
String text2,
LinkedList<DiffPatchMerge.Diff> diffs)
Deprecated.
Prefer patch_make(String text1, LinkedList
|
Modifier and Type | Method and Description |
---|---|
protected void |
DiffPatchMerge.patch_addContext(DiffPatchMerge.Patch patch,
String text)
Increase the context until it is unique,
but don't let the pattern expand beyond Match_MaxBits.
|
Modifier and Type | Method and Description |
---|---|
String |
DiffPatchMerge.patch_addPadding(LinkedList<DiffPatchMerge.Patch> patches)
Add some padding on text start and end so that edges can match something.
|
Object[] |
DiffPatchMerge.patch_apply(LinkedList<DiffPatchMerge.Patch> patches,
String text)
Merge a set of patches onto the text.
|
LinkedList<DiffPatchMerge.Patch> |
DiffPatchMerge.patch_deepCopy(LinkedList<DiffPatchMerge.Patch> patches)
Given an array of patches, return another array that is identical.
|
void |
DiffPatchMerge.patch_splitMax(LinkedList<DiffPatchMerge.Patch> patches)
Look through the patches and break up any which are longer than the
maximum limit of the match algorithm.
|
String |
DiffPatchMerge.patch_toText(List<DiffPatchMerge.Patch> patches)
Take a list of patches and return a textual representation.
|
Copyright © 2013-2015 JBoss, a division of Red Hat. All Rights Reserved.