@API(value=Experimental) public class FilePosition extends Object implements Serializable
Constructor and Description |
---|
FilePosition(int line,
int column)
Create a new
FilePosition using the supplied line and
column . |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object o) |
int |
getColumn()
Get the column (1-based) of this position.
|
int |
getLine()
Get the line (1-based) of this position.
|
int |
hashCode() |
String |
toString() |
public FilePosition(int line, int column)
FilePosition
using the supplied line
and
column
.line
- the line (1-based)column
- the column (1-based)