java.lang.Object
org.apache.wicket.util.diff.myers.PathNode
org.apache.wicket.util.diff.myers.Snake
Represents a snake in a diffpath.
DiffNodes
and Snakes
allow for compression of diffpaths, as each
snake is represented by a single Snake
node and each contiguous series of
insertions and deletions is represented by a single DiffNodes
.
- Version:
- $Revision: 1.1 $ $Date: 2006/03/12 00:24:21 $
- Author:
- Juanco Anez
-
Field Summary
-
Constructor Summary
Constructors -
Method Summary
Methods inherited from class org.apache.wicket.util.diff.myers.PathNode
isBootstrap, previousSnake, toString
-
Constructor Details
-
Snake
Constructs a snake node.- Parameters:
i
- the position in the original sequencej
- the position in the revised sequenceprev
- the previous node in the path.
-
-
Method Details
-
isSnake
Is this node aSnake node
?
-