Make javadoc happy.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/collections/trunk@1479338 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
5878adfaf3
commit
4b2709eb5a
|
@ -44,11 +44,12 @@
|
|||
* Eugene W. Myers and described in his paper: <a
|
||||
* href="http://www.cis.upenn.edu/~bcpierce/courses/dd/papers/diff.ps">An O(ND)
|
||||
* Difference Algorithm and Its Variations</a>. This algorithm produces
|
||||
* the shortest possible {@link #EditScript edit script} containing
|
||||
* all the {@link #EditCommand commands} needed to transform the first sequence
|
||||
* into the second one.
|
||||
* the shortest possible
|
||||
* {@link org.apache.commons.collections4.sequence.EditScript edit script} containing
|
||||
* all the {@link org.apache.commons.collections4.sequence.EditCommand commands}
|
||||
* needed to transform the first sequence into the second one.
|
||||
* The entry point for the user to this algorithm is the
|
||||
* {@link #SequencesComparator} class.
|
||||
* {@link org.apache.commons.collections4.sequence.SequencesComparator} class.
|
||||
* <p>
|
||||
* As explained in Gene Myers paper, the edit script is equivalent to all
|
||||
* other representations and contains all the needed information either
|
||||
|
@ -57,18 +58,18 @@
|
|||
* <p>
|
||||
* If the user needs a very fine grained access to the comparison result,
|
||||
* he needs to go through this script by providing a visitor implementing
|
||||
* the {@link #CommandVisitor} interface.
|
||||
* the {@link org.apache.commons.collections4.sequence.CommandVisitor} interface.
|
||||
* <p>
|
||||
* Sometimes however, a more synthetic approach is needed. If the user
|
||||
* prefers to see the differences between the two sequences as global
|
||||
* <code>replacement</code> operations acting on complete subsequences of
|
||||
* the original sequences, he will provide an object implementing the
|
||||
* simple {@link #ReplacementsHandler} interface, using an instance of the
|
||||
* {@link #ReplacementsFinder} class as a command converting layer between his
|
||||
* object and the edit script. The number of objects which are common to
|
||||
* both initial arrays and hence are skipped between each call to the user
|
||||
* {@link ReplacementsHandler#handleReplacement handleReplacement} method is
|
||||
* also provided. This allows the user to keep track of the current index in
|
||||
* simple {@link org.apache.commons.collections4.sequence.ReplacementsHandler} interface,
|
||||
* using an instance of the {@link org.apache.commons.collections4.sequence.ReplacementsFinder}
|
||||
* class as a command converting layer between his object and the edit script. The number of
|
||||
* objects which are common to both initial arrays and hence are skipped between each call to the user
|
||||
* {@link org.apache.commons.collections4.sequence.ReplacementsHandler#handleReplacement handleReplacement}
|
||||
* method is also provided. This allows the user to keep track of the current index in
|
||||
* both arrays if he needs so.
|
||||
*
|
||||
* @version $Id$
|
||||
|
|
|
@ -841,7 +841,6 @@ public class IteratorUtilsTest extends BulkTest {
|
|||
|
||||
/**
|
||||
* creates an array of four Node instances, mocked by EasyMock.
|
||||
* @return
|
||||
*/
|
||||
private Node[] createNodes() {
|
||||
final Node node1 = createMock(Node.class);
|
||||
|
|
Loading…
Reference in New Issue