Class PathNode
- java.lang.Object
-
- org.apache.wicket.util.diff.myers.PathNode
-
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description boolean
isBootstrap()
Is this a bootstrap node?abstract boolean
isSnake()
Is this node aSnake node
?PathNode
previousSnake()
String
toString()
-
-
-
Method Detail
-
isSnake
public abstract boolean isSnake()
Is this node aSnake node
?- Returns:
- true if this is a
Snake node
-
isBootstrap
public boolean isBootstrap()
Is this a bootstrap node?In bootstrap nodes one of the two coordinates is less than zero.
- Returns:
- true if this is a bootstrap node.
-
previousSnake
public final PathNode previousSnake()
Skips sequences ofDiffNodes
until aSnake
or bootstrap node is found, or the end of the path is reached.- Returns:
- The next first
Snake
or bootstrap node in the path, ornull
if none found.
-
-