@Exported
public interface LineMap
Modifier and Type | Method and 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, 2015, Oracle and/or its affiliates. All rights reserved.
DRAFT internal-b80