JLibDiff
Class JRCSMyersPathNode

java.lang.Object
  |
  +--JLibDiff.JRCSMyersPathNode

public final class JRCSMyersPathNode
extends java.lang.Object


Field Summary
 int i
           
 int j
           
 JRCSMyersPathNode prev
           
 
Constructor Summary
JRCSMyersPathNode(int i, int j)
          Creates a diffpath of a single node.
JRCSMyersPathNode(int i, int j, JRCSMyersPathNode prev)
          Adds a node to an existing diffpath.
 
Method Summary
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

i

public final int i

j

public final int j

prev

public final JRCSMyersPathNode prev
Constructor Detail

JRCSMyersPathNode

public JRCSMyersPathNode(int i,
                         int j)
Creates a diffpath of a single node.

Parameters:
i - The position in the original sequence.
j - The position in the revised sequence.

JRCSMyersPathNode

public JRCSMyersPathNode(int i,
                         int j,
                         JRCSMyersPathNode prev)
Adds a node to an existing diffpath.

Parameters:
i - The position in the original sequence for the new node.
j - The position in the revised sequence for the new node.
prev - The previous node in the path.
Method Detail

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object


Copyright 2003 Soucejammer project.