| Modifier and Type | Field and Description |
|---|---|
| private final OptionalInt | |
| private final int |
| Access | Constructor and Description |
|---|---|
| private |
| Modifier and Type | Method and Description |
|---|---|
| public OptionalInt | getCharacterIndex()
Returns an |
| public int | getInsertionIndex()
When |
| public static CharacterHit | insertionAt(int insertionIndex)
Returns a |
| public static CharacterHit | leadingHalfOf(int charIdx)
Returns a |
| public CharacterHit | |
| public static CharacterHit | trailingHalfOf(int charIdx)
Returns a |
| charIdx | back to summary |
|---|---|
| private final OptionalInt charIdx | |
| insertionIndex | back to summary |
|---|---|
| private final int insertionIndex | |
| CharacterHit | back to summary |
|---|---|
| private CharacterHit(OptionalInt charIdx, int insertionIndex) | |
| getCharacterIndex | back to summary |
|---|---|
| public OptionalInt getCharacterIndex() Returns an | |
| getInsertionIndex | back to summary |
|---|---|
| public int getInsertionIndex() When | |
| insertionAt | back to summary |
|---|---|
| public static CharacterHit insertionAt(int insertionIndex) Returns a | |
| leadingHalfOf | back to summary |
|---|---|
| public static CharacterHit leadingHalfOf(int charIdx) Returns a | |
| offset | back to summary |
|---|---|
| public CharacterHit offset(int offsetAmount) Offsets the values stored in this | |
| trailingHalfOf | back to summary |
|---|---|
| public static CharacterHit trailingHalfOf(int charIdx) Returns a | |