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 Submit a bug or feature
Java is a trademark or registered trademark of Oracle and/or its affiliates in the US and other countries.
Copyright © 2014, 2017, Oracle and/or its affiliates. 500 Oracle Parkway
Redwood Shores, CA 94065 USA. All rights reserved.
DRAFT 9-Ubuntu+0-9b153-2