public interface OffsetLocation extends Location
| Modifier and Type | Method and Description |
|---|---|
OffsetLocation |
copy()
Create a copy of this location.
|
int |
get()
Get the offset.
|
OffsetLocation |
moveTextIndex(CharSequence sequence)
Move the text index according to the given sequence of characters.
|
OffsetLocation |
moveTextIndex(CharSequence sequence,
int offset,
int length)
Move the text index according to the given sequence of characters.
|
OffsetLocation |
moveTextIndex(int amount)
Create a version of this
Location that has moved a number of
positions in a text. |
isAfter, isBefore, isSameOrAfter, isSameOrBefore, offset, text, toStringcompareToint get()
OffsetLocation copy()
OffsetLocation moveTextIndex(int amount)
Location that has moved a number of
positions in a text.amount - OffsetLocation moveTextIndex(CharSequence sequence)
moveTextIndex in interface Locationsequence - OffsetLocation moveTextIndex(CharSequence sequence, int offset, int length)
moveTextIndex in interface Locationsequence - offset - length - Copyright © 2018. All rights reserved.