public interface LineMap
Modifier and Type | Method | Description |
---|---|---|
long |
getColumnNumber(long pos) |
Find the column for a character position.
|
long |
getLineNumber(long pos) |
Find the line containing a position; a line termination
character is on the line it terminates.
|
long getLineNumber(long pos)
pos
- character offset of the positionlong getColumnNumber(long pos)
pos
- character offset of the position
Copyright © 2014, 2016, Oracle and/or its affiliates. All rights reserved.
DRAFT 9-Ubuntu+0-9b144-1ubuntu1