A node in a diffpath.
DiffNode, Snake
| Modifier and Type | Field and Description |
|---|---|
| public final int | i
Position in the original sequence. |
| public final int | j
Position in the revised sequence. |
| public final PathNode | prev
The previous node in the path. |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public boolean | |
| public abstract boolean | |
| public final PathNode | previousSnake()
Skips sequences of |
| public String |
| i | back to summary |
|---|---|
| public final int i Position in the original sequence. | |
| j | back to summary |
|---|---|
| public final int j Position in the revised sequence. | |
| prev | back to summary |
|---|---|
| public final PathNode prev The previous node in the path. | |
| PathNode | back to summary |
|---|---|
| public PathNode(int i, int j, PathNode prev) Concatenates a new path node with an existing diffpath.
| |
| isBootstrap | back to summary |
|---|---|
| public boolean isBootstrap() Is this a bootstrap node? In bootstrap nodes one of the two coordinates is less than zero.
| |
| isSnake | back to summary |
|---|---|
| public abstract boolean isSnake() Is this node a
| |
| previousSnake | back to summary |
|---|---|
| public final PathNode previousSnake() Skips sequences of | |
| toString | back to summary |
|---|---|
| public String toString() Overrides java. Doc from java. Returns a string representation of the object. | |