public final class TomlPosition
extends java.lang.Object
Modifier and Type | Method and Description |
---|---|
int |
column()
The column number.
|
boolean |
equals(java.lang.Object obj) |
int |
hashCode() |
int |
line()
The line number.
|
static TomlPosition |
positionAt(int line,
int column)
Create a position.
|
java.lang.String |
toString() |
public static TomlPosition positionAt(int line, int column)
line
- The line.column
- The column.public int line()
The first line of the document is line 1.
public int column()
The first column of the document is column 1.
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object
public java.lang.String toString()
toString
in class java.lang.Object