Package org.assertj.core.util.diff.myers
Class Snake
- java.lang.Object
-
- org.assertj.core.util.diff.myers.PathNode
-
- org.assertj.core.util.diff.myers.Snake
-
public final class Snake extends PathNode
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
isSnake()
Is this node aSnake node
?-
Methods inherited from class org.assertj.core.util.diff.myers.PathNode
isBootstrap, previousSnake, toString
-
-
-
-
Constructor Detail
-
Snake
public Snake(int i, int j, PathNode prev)
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 Detail
-
isSnake
public boolean isSnake()
Is this node aSnake node
?
-
-