public final class Snake extends PathNode
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
|Constructor and Description|
Constructs a snake node.
|Modifier and Type||Method and Description|
Is this node a
isBootstrap, previousSnake, toString
public Snake(int i, int j, PathNode prev)
i- the position in the original sequence
j- the position in the revised sequence
prev- the previous node in the path.
Copyright © 2006–2021 Apache Software Foundation. All rights reserved.