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 booleanisBootstrap()Is this a bootstrap node?abstract booleanisSnake()Is this node aSnake node?PathNodepreviousSnake()StringtoString()
-
-
-
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 ofDiffNodesuntil aSnakeor bootstrap node is found, or the end of the path is reached.- Returns:
- The next first
Snakeor bootstrap node in the path, ornullif none found.
-
-