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.
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public boolean | Returns: true alwaysImplements abstract org. Snake node?
|
| Snake | back to summary |
|---|---|
| public Snake(int i, int j, PathNode prev) Constructs a snake node.
| |
| isSnake | back to summary |
|---|---|
| public boolean isSnake() Implements abstract org. Doc from org. Is this node a
| |