B C D E F G H I L N O P T V W X 

B

Bisect - Class in net.morimekta.diff
Find the 'middle snake' of a diff, split the problem in two and return the recursively constructed diff.
Bisect(String, String) - Constructor for class net.morimekta.diff.Bisect
Bisect two strings.
Bisect(String, String, DiffOptions) - Constructor for class net.morimekta.diff.Bisect
Bisect two strings.

C

Change - Class in net.morimekta.diff
Class representing one diff operation.
Change(Operation, String) - Constructor for class net.morimekta.diff.Change
Constructor.

D

defaults() - Static method in class net.morimekta.diff.DiffOptions
Get the default diff options.
DELETE - net.morimekta.diff.Operation
 
Diff - Class in net.morimekta.diff
Diff.
Diff(String, String) - Constructor for class net.morimekta.diff.Diff
 
Diff(String, String, DiffOptions) - Constructor for class net.morimekta.diff.Diff
 
Diff(String, String, DiffOptions, long) - Constructor for class net.morimekta.diff.Diff
 
DiffBase - Class in net.morimekta.diff
DiffBase
DiffLines - Class in net.morimekta.diff
Make diff based on lines.
DiffLines(String, String) - Constructor for class net.morimekta.diff.DiffLines
 
DiffLines(String, String, DiffOptions) - Constructor for class net.morimekta.diff.DiffLines
 
DiffOptions - Class in net.morimekta.diff
Options for diff.
DiffOptions() - Constructor for class net.morimekta.diff.DiffOptions
 

E

EQUAL - net.morimekta.diff.Operation
 
equals(Object) - Method in class net.morimekta.diff.Change
Is this DiffBase equivalent to another DiffBase?
equals(Object) - Method in class net.morimekta.diff.DiffBase
 

F

fromDelta(String, String) - Static method in class net.morimekta.diff.Bisect
Given the original text1, and an encoded string which describes the operations required to transform text1 into text2, compute the full diff.
fromDelta(String, String) - Static method in class net.morimekta.diff.Diff
Given the original text1, and an encoded string which describes the operations required to transform text1 into text2, compute the full diff.
fullDiff() - Method in class net.morimekta.diff.DiffLines
 

G

getChangeList() - Method in class net.morimekta.diff.Bisect
 
getChangeList() - Method in class net.morimekta.diff.Diff
 
getChangeList() - Method in class net.morimekta.diff.DiffBase
Get the finished changelist.
getChangeList() - Method in class net.morimekta.diff.DiffLines
 
getCheckLines() - Method in class net.morimekta.diff.DiffOptions
 
getClock() - Method in class net.morimekta.diff.DiffOptions
 
getEditCost() - Method in class net.morimekta.diff.DiffOptions
 
getOptions() - Method in class net.morimekta.diff.DiffBase
Get the diff options used when diffing.
getTimeout() - Method in class net.morimekta.diff.DiffOptions
 

H

hashCode() - Method in class net.morimekta.diff.Change
Create a numeric hash value for a DiffBase.
hashCode() - Method in class net.morimekta.diff.DiffBase
 

I

INSERT - net.morimekta.diff.Operation
 

L

levenshtein() - Method in class net.morimekta.diff.DiffBase
Compute the Levenshtein distance; the number of inserted, deleted or substituted characters.

N

net.morimekta.diff - package net.morimekta.diff
 

O

operation - Variable in class net.morimekta.diff.Change
One of: INSERT, DELETE or EQUAL.
Operation - Enum in net.morimekta.diff
The data structure representing a diff is a Linked list of DiffBase objects: {Change(Operation.DELETE, "Hello"), Change(Operation.INSERT, "Goodbye"), Change(Operation.EQUAL, " world.")}

P

patch() - Method in class net.morimekta.diff.DiffLines
 
patchLine() - Method in class net.morimekta.diff.Change
 
prettyHtml() - Method in class net.morimekta.diff.DiffBase
Convert a DiffBase list into a pretty HTML report.

T

text - Variable in class net.morimekta.diff.Change
The text associated with this diff operation.
text1() - Method in class net.morimekta.diff.DiffBase
Compute and return the source text (all equalities and deletions).
text2() - Method in class net.morimekta.diff.DiffBase
Compute and return the destination text (all equalities and insertions).
toDelta() - Method in class net.morimekta.diff.DiffBase
Crush the diff into an encoded string which describes the operations required to transform text1 into text2.
toString() - Method in class net.morimekta.diff.Change
Display a human-readable version of this DiffBase.
toString() - Method in class net.morimekta.diff.DiffBase
 

V

valueOf(String) - Static method in enum net.morimekta.diff.Operation
Returns the enum constant of this type with the specified name.
values() - Static method in enum net.morimekta.diff.Operation
Returns an array containing the constants of this enum type, in the order they are declared.

W

withCheckLines(boolean) - Method in class net.morimekta.diff.DiffOptions
Set the option to check line-line diff before inter-line diffs.
withClock(Clock) - Method in class net.morimekta.diff.DiffOptions
Use the clock instance when calculating deadline oversteps.
withEditCost(int) - Method in class net.morimekta.diff.DiffOptions
Set the cost of an empty edit operation in terms of edit characters
withTimeout(double) - Method in class net.morimekta.diff.DiffOptions
Set the number of seconds to map a diff before giving up (0 for infinity).

X

xIndex(int) - Method in class net.morimekta.diff.DiffBase
loc is a location in text1, compute and return the equivalent location in text2.
B C D E F G H I L N O P T V W X