public class PositionsHelper
extends java.lang.Object
Constructor and Description |
---|
PositionsHelper() |
Modifier and Type | Method and Description |
---|---|
static int |
searchStartIndex(IPositionUnitList positionUnitList,
long curPos)
Return the start index (Within the current Position scope)
|
static int |
searchStartIndex(java.util.List<? extends IPositionUnit> positionUnits,
long curPos)
Return the start index (Within the current Position scope)
|
public static int searchStartIndex(java.util.List<? extends IPositionUnit> positionUnits, long curPos)
curPos
- CurrentPositionpublic static int searchStartIndex(IPositionUnitList positionUnitList, long curPos)
curPos
- CurrentPosition