public interface TextOffsetLocation extends TextLocation, OffsetLocation
| Modifier and Type | Method and Description |
|---|---|
TextOffsetLocation |
copy()
Copy this location.
|
TextOffsetLocation |
moveTextIndex(CharSequence sequence)
Move the text index according to the given sequence of characters.
|
TextOffsetLocation |
moveTextIndex(CharSequence sequence,
int offset,
int length)
Move the text index according to the given sequence of characters.
|
TextOffsetLocation |
moveTo(int offset,
int line,
int column)
Move the offset, line and column of this location, returning either
itself if mutable or a copy if this instance is immutable.
|
getColumn, getLine, moveToget, moveTextIndexisAfter, isBefore, isSameOrAfter, isSameOrBefore, offset, text, toStringcompareToTextOffsetLocation copy()
copy in interface Locationcopy in interface OffsetLocationcopy in interface TextLocationTextOffsetLocation moveTo(int offset, int line, int column)
offset - line - column - TextOffsetLocation moveTextIndex(CharSequence sequence)
moveTextIndex in interface LocationmoveTextIndex in interface OffsetLocationmoveTextIndex in interface TextLocationsequence - TextOffsetLocation moveTextIndex(CharSequence sequence, int offset, int length)
moveTextIndex in interface LocationmoveTextIndex in interface OffsetLocationmoveTextIndex in interface TextLocationsequence - offset - length - Copyright © 2018. All rights reserved.