Skip navigation links
A B C D E F G I J L M N O P R S T V 

A

Accept(RevisionVisitor) - Method in class org.apache.commons.jrcs.diff.AddDelta
 
accept(RevisionVisitor) - Method in class org.apache.commons.jrcs.diff.AddDelta
 
accept(RevisionVisitor) - Method in class org.apache.commons.jrcs.diff.ChangeDelta
 
accept(RevisionVisitor) - Method in class org.apache.commons.jrcs.diff.DeleteDelta
 
accept(RevisionVisitor) - Method in class org.apache.commons.jrcs.diff.Delta
Accepts a visitor.
accept(RevisionVisitor) - Method in class org.apache.commons.jrcs.diff.Revision
Accepts a visitor.
AddDelta - Class in org.apache.commons.jrcs.diff
Holds an add-delta between to revisions of a text.
AddDelta(int, Chunk) - Constructor for class org.apache.commons.jrcs.diff.AddDelta
 
addDelta(Delta) - Method in class org.apache.commons.jrcs.diff.Revision
Adds a delta to this revision.
algorithm - Variable in class org.apache.commons.jrcs.diff.Diff
The differencing algorithm to use.
anchor - Variable in class org.apache.commons.jrcs.diff.Chunk
 
anchor() - Method in class org.apache.commons.jrcs.diff.Chunk
Returns the anchor position of the chunk.
applyAdd(int, List) - Method in class org.apache.commons.jrcs.diff.Chunk
Add the text of this chunk to the target at the given position.
applyDelete(List) - Method in class org.apache.commons.jrcs.diff.Chunk
Delete this chunk from he given text.
applyTo(List) - Method in class org.apache.commons.jrcs.diff.AddDelta
 
applyTo(List) - Method in class org.apache.commons.jrcs.diff.ChangeDelta
 
applyTo(List) - Method in class org.apache.commons.jrcs.diff.DeleteDelta
 
applyTo(List) - Method in class org.apache.commons.jrcs.diff.Delta
Applies this delta as a patch to the given text.
applyTo(List) - Method in class org.apache.commons.jrcs.diff.Revision
Applies the series of deltas in this revision as patches to the given text.
arrayToString(Object[]) - Static method in class org.apache.commons.jrcs.diff.Diff
Converts an array of Object to a string using Diff.NL as the line separator.
arrayToString(Object[]) - Static method in class org.apache.commons.jrcs.util.ToString
Converts an array of Object to a string Use the value of the line.separator system property the line separator.
arrayToString(Object[], String) - Static method in class org.apache.commons.jrcs.util.ToString
Converts an array of Object to a string using the given line separator.

B

buildEqSet(Object[], Object[]) - Method in class org.apache.commons.jrcs.diff.SimpleDiff
create a Map from each common item in orig and rev to the index of its first occurrence in orig
buildIndex(Map, Object[], int) - Method in class org.apache.commons.jrcs.diff.SimpleDiff
build a an array such each a[i] = eqs([i]) or NF if eqs([i]) undefined
buildPath(Object[], Object[]) - Static method in class org.apache.commons.jrcs.diff.myers.MyersDiff
Computes the minimum diffpath that expresses de differences between the original and revised sequences, according to Gene Myers differencing algorithm.
buildRevision(PathNode, Object[], Object[]) - Static method in class org.apache.commons.jrcs.diff.myers.MyersDiff
Constructs a Revision from a difference path.

C

ChangeDelta - Class in org.apache.commons.jrcs.diff
Holds an change-delta between to revisions of a text.
ChangeDelta(Chunk, Chunk) - Constructor for class org.apache.commons.jrcs.diff.ChangeDelta
 
Chunk - Class in org.apache.commons.jrcs.diff
Holds a information about a parrt of the text involved in a differencing or patching operation.
Chunk(int, int) - Constructor for class org.apache.commons.jrcs.diff.Chunk
Creates a chunk that doesn't copy the original text.
Chunk(Object[], int, int) - Constructor for class org.apache.commons.jrcs.diff.Chunk
Creates a chunk and saves a copy the original chunk's text.
Chunk(Object[], int, int, int) - Constructor for class org.apache.commons.jrcs.diff.Chunk
Creates a chunk that will be displaced in the resulting text, and saves a copy the original chunk's text.
Chunk(List, int, int) - Constructor for class org.apache.commons.jrcs.diff.Chunk
Creates a chunk and saves a copy the original chunk's text.
Chunk(List, int, int, int) - Constructor for class org.apache.commons.jrcs.diff.Chunk
Creates a chunk that will be displaced in the resulting text, and saves a copy the original chunk's text.
chunk - Variable in class org.apache.commons.jrcs.diff.Chunk
 
chunk() - Method in class org.apache.commons.jrcs.diff.Chunk
Returns the text saved for this chunk.
compare(Object[], Object[]) - Static method in class org.apache.commons.jrcs.diff.Diff
Compares the two input sequences.
count - Variable in class org.apache.commons.jrcs.diff.Chunk
 

D

defaultAlgorithm() - Method in class org.apache.commons.jrcs.diff.Diff
 
DeleteDelta - Class in org.apache.commons.jrcs.diff
Holds a delete-delta between to revisions of a text.
DeleteDelta(Chunk) - Constructor for class org.apache.commons.jrcs.diff.DeleteDelta
 
Delta - Class in org.apache.commons.jrcs.diff
Holds a "delta" difference between to revisions of a text.
Delta() - Constructor for class org.apache.commons.jrcs.diff.Delta
Creates an uninitialized delta.
Delta(Chunk, Chunk) - Constructor for class org.apache.commons.jrcs.diff.Delta
Creates a delta object with the given chunks from the original and revised texts.
Diff - Class in org.apache.commons.jrcs.diff
Implements a differencing engine that works on arrays of Object.
Diff(Object[]) - Constructor for class org.apache.commons.jrcs.diff.Diff
Create a differencing object using the default algorithm
Diff(Object[], DiffAlgorithm) - Constructor for class org.apache.commons.jrcs.diff.Diff
Create a differencing object using the given algorithm
diff(Object[], Object[]) - Static method in class org.apache.commons.jrcs.diff.Diff
compute the difference between an original and a revision.
diff(Object[], Object[], DiffAlgorithm) - Static method in class org.apache.commons.jrcs.diff.Diff
compute the difference between an original and a revision.
diff(Object[]) - Method in class org.apache.commons.jrcs.diff.Diff
compute the difference between the original and a revision.
diff(Object[], Object[]) - Method in interface org.apache.commons.jrcs.diff.DiffAlgorithm
Computes the difference between the original sequence and the revised sequence and returns it as a Revision object.
diff(Object[], Object[]) - Method in class org.apache.commons.jrcs.diff.myers.MyersDiff
Computes the difference between the original sequence and the revised sequence and returns it as a Revision object.
diff(Object[], Object[]) - Method in class org.apache.commons.jrcs.diff.SimpleDiff
Compute the difference between original and revised sequences.
DiffAlgorithm - Interface in org.apache.commons.jrcs.diff
A simple interface for implementations of differencing algorithms.
DifferentiationFailedException - Exception in org.apache.commons.jrcs.diff
Thrown whenever the differencing engine cannot produce the differences between two revisions of ta text.
DifferentiationFailedException() - Constructor for exception org.apache.commons.jrcs.diff.DifferentiationFailedException
 
DifferentiationFailedException(String) - Constructor for exception org.apache.commons.jrcs.diff.DifferentiationFailedException
 
DifferentiationFailedException(String, Throwable) - Constructor for exception org.apache.commons.jrcs.diff.DifferentiationFailedException
 
DifferentiationFailedException(Throwable) - Constructor for exception org.apache.commons.jrcs.diff.DifferentiationFailedException
 
DiffException - Exception in org.apache.commons.jrcs.diff
Base class for all exceptions emanating from this package.
DiffException() - Constructor for exception org.apache.commons.jrcs.diff.DiffException
 
DiffException(String) - Constructor for exception org.apache.commons.jrcs.diff.DiffException
 
DiffException(String, Throwable) - Constructor for exception org.apache.commons.jrcs.diff.DiffException
 
DiffException(Throwable) - Constructor for exception org.apache.commons.jrcs.diff.DiffException
 
DiffNode - Class in org.apache.commons.jrcs.diff.myers
A diffnode in a diffpath.
DiffNode(int, int, PathNode) - Constructor for class org.apache.commons.jrcs.diff.myers.DiffNode
Constructs a DiffNode.

E

editAll(Object[]) - Static method in class org.apache.commons.jrcs.diff.Diff
Edits all of the items in the input sequence.

F

first() - Method in class org.apache.commons.jrcs.diff.Chunk
Returns the index of the first line of the chunk.

G

getDelta(int) - Method in class org.apache.commons.jrcs.diff.Revision
Retrieves a delta from this revision by position.
getOriginal() - Method in class org.apache.commons.jrcs.diff.Delta
Accessor method to return the chunk representing the original sequence of items
getRevised() - Method in class org.apache.commons.jrcs.diff.Delta
Accessor method to return the chunk representing the updated sequence of items.

I

i - Variable in class org.apache.commons.jrcs.diff.myers.PathNode
Position in the original sequence.
init(Chunk, Chunk) - Method in class org.apache.commons.jrcs.diff.Delta
Initializaes the delta with the given chunks from the original and revised texts.
insertDelta(Delta) - Method in class org.apache.commons.jrcs.diff.Revision
Adds a delta to the start of this revision.
isBootstrap() - Method in class org.apache.commons.jrcs.diff.myers.PathNode
Is this a bootstrap node?
isSnake() - Method in class org.apache.commons.jrcs.diff.myers.DiffNode
Is this node a Snake node?
isSnake() - Method in class org.apache.commons.jrcs.diff.myers.PathNode
Is this node a Snake node?
isSnake() - Method in class org.apache.commons.jrcs.diff.myers.Snake
Is this node a Snake node?

J

j - Variable in class org.apache.commons.jrcs.diff.myers.PathNode
Position in the revised sequence.

L

last() - Method in class org.apache.commons.jrcs.diff.Chunk
Returns the index of the last line of the chunk.

M

MyersDiff - Class in org.apache.commons.jrcs.diff.myers
A clean-room implementation of Eugene Myers differencing algorithm.
MyersDiff() - Constructor for class org.apache.commons.jrcs.diff.myers.MyersDiff
Constructs an instance of the Myers differencing algorithm.

N

newDelta(Chunk, Chunk) - Static method in class org.apache.commons.jrcs.diff.Delta
Returns a Delta that corresponds to the given chunks in the original and revised text respectively.
NL - Static variable in class org.apache.commons.jrcs.diff.Diff
The standard line separator.

O

org.apache.commons.jrcs.diff - package org.apache.commons.jrcs.diff
The diff package implements the differencing engine that JRCS uses.
org.apache.commons.jrcs.diff.myers - package org.apache.commons.jrcs.diff.myers
The diff.myers package implements Gene Myers' differencing algorithm.
org.apache.commons.jrcs.util - package org.apache.commons.jrcs.util
 
orig - Variable in class org.apache.commons.jrcs.diff.Diff
The original sequence.
original - Variable in class org.apache.commons.jrcs.diff.Delta
 

P

patch(List) - Method in class org.apache.commons.jrcs.diff.Delta
Applies this delta as a patch to the given text.
patch(Object[]) - Method in class org.apache.commons.jrcs.diff.Revision
Applies the series of deltas in this revision as patches to the given text.
PatchFailedException - Exception in org.apache.commons.jrcs.diff
Thrown whenever a delta cannot be applied as a patch to a given text.
PatchFailedException(String, Throwable) - Constructor for exception org.apache.commons.jrcs.diff.PatchFailedException
 
PatchFailedException(Throwable) - Constructor for exception org.apache.commons.jrcs.diff.PatchFailedException
 
PatchFailedException() - Constructor for exception org.apache.commons.jrcs.diff.PatchFailedException
 
PatchFailedException(String) - Constructor for exception org.apache.commons.jrcs.diff.PatchFailedException
 
PathNode - Class in org.apache.commons.jrcs.diff.myers
A node in a diffpath.
PathNode(int, int, PathNode) - Constructor for class org.apache.commons.jrcs.diff.myers.PathNode
Concatenates a new path node with an existing diffpath.
prev - Variable in class org.apache.commons.jrcs.diff.myers.PathNode
The previous node in the path.
previousSnake() - Method in class org.apache.commons.jrcs.diff.myers.PathNode
Skips sequences of DiffNodes until a Snake or bootstrap node is found, or the end of the path is reached.

R

randomEdit(Object[]) - Static method in class org.apache.commons.jrcs.diff.Diff
Performs random edits on the input sequence.
randomEdit(Object[], long) - Static method in class org.apache.commons.jrcs.diff.Diff
Performs random edits on the input sequence.
randomSequence(int) - Static method in class org.apache.commons.jrcs.diff.Diff
Generate a random sequence of the given size.
randomSequence(int, long) - Static method in class org.apache.commons.jrcs.diff.Diff
Generate a random sequence of the given size.
rangeString() - Method in class org.apache.commons.jrcs.diff.Chunk
Provide a string representation of the numeric range of this chunk.
rangeString(StringBuffer) - Method in class org.apache.commons.jrcs.diff.Chunk
Provide a string representation of the numeric range of this chunk.
rangeString(StringBuffer, String) - Method in class org.apache.commons.jrcs.diff.Chunk
Provide a string representation of the numeric range of this chunk.
RCS_EOL - Static variable in class org.apache.commons.jrcs.diff.Diff
The line separator to use in RCS format output.
rcsfrom() - Method in class org.apache.commons.jrcs.diff.Chunk
Returns the from index of the chunk in RCS terms.
rcsto() - Method in class org.apache.commons.jrcs.diff.Chunk
Returns the to index of the chunk in RCS terms.
revised - Variable in class org.apache.commons.jrcs.diff.Delta
 
Revision - Class in org.apache.commons.jrcs.diff
A Revision holds the series of deltas that describe the differences between two sequences.
Revision() - Constructor for class org.apache.commons.jrcs.diff.Revision
Creates an empty Revision.
RevisionVisitor - Interface in org.apache.commons.jrcs.diff
Definition of a Visitor interface for Revisions See "Design Patterns" by the Gang of Four

S

scan(int[], int, int) - Method in class org.apache.commons.jrcs.diff.SimpleDiff
 
shuffle(Object[]) - Static method in class org.apache.commons.jrcs.diff.Diff
Shuffles around the items in the input sequence.
shuffle(Object[], long) - Static method in class org.apache.commons.jrcs.diff.Diff
Shuffles around the items in the input sequence.
SimpleDiff - Class in org.apache.commons.jrcs.diff
Implements a simple differencing algortithm.
SimpleDiff() - Constructor for class org.apache.commons.jrcs.diff.SimpleDiff
 
size() - Method in class org.apache.commons.jrcs.diff.Chunk
Returns the size of the chunk.
size() - Method in class org.apache.commons.jrcs.diff.Revision
Returns the number of deltas in this revision.
slice(List, int, int) - Static method in class org.apache.commons.jrcs.diff.Chunk
Retreives the specified part from a List.
slice(Object[], int, int) - Static method in class org.apache.commons.jrcs.diff.Chunk
Retrieves a slice from an Object array.
Snake - Class in org.apache.commons.jrcs.diff.myers
Represents a snake in a diffpath.
Snake(int, int, PathNode) - Constructor for class org.apache.commons.jrcs.diff.myers.Snake
Constructs a snake node.
stringToArray(String) - Static method in class org.apache.commons.jrcs.util.ToString
Breaks a string into an array of strings.

T

toRCSString(StringBuffer, String) - Method in class org.apache.commons.jrcs.diff.AddDelta
 
toRCSString(StringBuffer, String) - Method in class org.apache.commons.jrcs.diff.ChangeDelta
 
toRCSString(StringBuffer, String) - Method in class org.apache.commons.jrcs.diff.DeleteDelta
 
toRCSString(StringBuffer, String) - Method in class org.apache.commons.jrcs.diff.Delta
Converts this delta into its RCS style string representation.
toRCSString(String) - Method in class org.apache.commons.jrcs.diff.Delta
Converts this delta into its RCS style string representation.
toRCSString(StringBuffer, String) - Method in class org.apache.commons.jrcs.diff.Revision
Converts this revision into its RCS style string representation.
toRCSString(StringBuffer) - Method in class org.apache.commons.jrcs.diff.Revision
Converts this revision into its RCS style string representation.
toRCSString(String) - Method in class org.apache.commons.jrcs.diff.Revision
Converts this delta into its RCS style string representation.
toRCSString() - Method in class org.apache.commons.jrcs.diff.Revision
Converts this delta into its RCS style string representation using the default line separator.
toString(StringBuffer) - Method in class org.apache.commons.jrcs.diff.AddDelta
 
toString(StringBuffer) - Method in class org.apache.commons.jrcs.diff.ChangeDelta
 
toString(StringBuffer) - Method in class org.apache.commons.jrcs.diff.Chunk
Provide a string image of the chunk using the an empty prefix and postfix.
toString(StringBuffer, String, String) - Method in class org.apache.commons.jrcs.diff.Chunk
Provide a string image of the chunk using the given prefix and postfix.
toString(StringBuffer) - Method in class org.apache.commons.jrcs.diff.DeleteDelta
 
toString(StringBuffer) - Method in class org.apache.commons.jrcs.diff.Delta
Converts this delta into its Unix diff style string representation.
toString() - Method in class org.apache.commons.jrcs.diff.myers.PathNode
toString(StringBuffer) - Method in class org.apache.commons.jrcs.diff.Revision
Converts this revision into its Unix diff style string representation.
ToString - Class in org.apache.commons.jrcs.util
This class delegates handling of the to a StringBuffer based version.
ToString() - Constructor for class org.apache.commons.jrcs.util.ToString
 
toString() - Method in class org.apache.commons.jrcs.util.ToString
Default implementation of the toString() method that delegates work to a StringBuffer base version.
toString(StringBuffer) - Method in class org.apache.commons.jrcs.util.ToString
Place a string image of the object in a StringBuffer.

V

verify(List) - Method in class org.apache.commons.jrcs.diff.AddDelta
 
verify(List) - Method in class org.apache.commons.jrcs.diff.ChangeDelta
 
verify(List) - Method in class org.apache.commons.jrcs.diff.Chunk
Verifies that this chunk's saved text matches the corresponding text in the given sequence.
verify(List) - Method in class org.apache.commons.jrcs.diff.DeleteDelta
 
verify(List) - Method in class org.apache.commons.jrcs.diff.Delta
Verifies that this delta can be used to patch the given text.
visit(Revision) - Method in interface org.apache.commons.jrcs.diff.RevisionVisitor
 
visit(DeleteDelta) - Method in interface org.apache.commons.jrcs.diff.RevisionVisitor
 
visit(ChangeDelta) - Method in interface org.apache.commons.jrcs.diff.RevisionVisitor
 
visit(AddDelta) - Method in interface org.apache.commons.jrcs.diff.RevisionVisitor
 
A B C D E F G I J L M N O P R S T V 
Skip navigation links

Copyright © 2003–2021 Sakai Project. All rights reserved.