Skip navigation links
B C D E F G H L N O P T V W X 

B

Bisect - Class in net.morimekta.diff
Bisect
Bisect(String, String) - Constructor for class net.morimekta.diff.Bisect
 
Bisect(String, String, DiffOptions) - Constructor for class net.morimekta.diff.Bisect
 

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.
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
DiffOptions - Class in net.morimekta.diff
Options for diff.
DiffOptions() - Constructor for class net.morimekta.diff.DiffOptions
 

E

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.

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.
getCheckLines() - Method in class net.morimekta.diff.DiffOptions
 
getClock() - Method in class net.morimekta.diff.DiffOptions
 
getEditCost() - Method in class net.morimekta.diff.DiffOptions
Cost of an empty edit operation in terms of edit characters.
getOptions() - Method in class net.morimekta.diff.DiffBase
Get the diff options used when diffing.
getTimeout() - Method in class net.morimekta.diff.DiffOptions
Number of seconds to map a diff before giving up (0 for infinity).

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
 

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.")} which means: delete "Hello", add "Goodbye" and keep " world."

P

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 L N O P T V W X 
Skip navigation links

Copyright © 2016. All rights reserved.