Class SequencesComparator.Snake
- java.lang.Object
-
- org.apache.commons.collections4.sequence.SequencesComparator.Snake
-
- Enclosing class:
- SequencesComparator<T>
private static class SequencesComparator.Snake extends java.lang.Object
This class is a simple placeholder to hold the end part of a path under construction in aSequencesComparator
.
-
-
Constructor Summary
Constructors Constructor Description Snake(int start, int end, int diag)
Simple constructor.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description int
getDiag()
Get the diagonal number of the snake.int
getEnd()
Get the end index of the snake.int
getStart()
Get the start index of the snake.
-
-
-
Method Detail
-
getStart
public int getStart()
Get the start index of the snake.- Returns:
- start index of the snake
-
getEnd
public int getEnd()
Get the end index of the snake.- Returns:
- end index of the snake
-
getDiag
public int getDiag()
Get the diagonal number of the snake.- Returns:
- diagonal number of the snake
-
-