A diffnode in a diffpath.
A DiffNode and its previous node mark a delta between two input sequences, that is, two differing subsequences between (possibly zero length) matching sequences.
Snakesallow for compression of diffpaths, as each snake is represented by a single
Snakenode and each contiguous series of insertions and deletions is represented by a single
- $Revision: 1.1 $ $Date: 2006/03/12 00:24:21 $
- Juanco Anez
All Methods Instance Methods Concrete Methods Modifier and Type Method Description
isSnake()Is this node a
Methods inherited from class org.apache.wicket.util.diff.myers.PathNode
isBootstrap, previousSnake, toString
DiffNodeConstructs a DiffNode.
DiffNodes are compressed. That means that the path pointed to by the
prevparameter will be followed using
PathNode.previousSnake()until a non-diff node is found.
i- the position in the original sequence
j- the position in the revised sequence
prev- the previous node in the path.