|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.qedeq.base.io.SourcePosition
public final class SourcePosition
Describes a file position within a text file.
Field Summary | |
---|---|
static SourcePosition |
BEGIN
Begin of file. |
Constructor Summary | |
---|---|
SourcePosition(int row,
int column)
Constructs source position object. |
Method Summary | |
---|---|
boolean |
equals(java.lang.Object obj)
|
int |
getColumn()
Get column number, starting with 1. |
int |
getRow()
Get line number, starting with 1. |
int |
hashCode()
|
java.lang.String |
toString()
|
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
public static final SourcePosition BEGIN
Constructor Detail |
---|
public SourcePosition(int row, int column)
row
- Line number, starting with 1.column
- Column number, starting with 1.Method Detail |
---|
public final int getRow()
public final int getColumn()
public final int hashCode()
hashCode
in class java.lang.Object
public final boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
public final java.lang.String toString()
toString
in class java.lang.Object
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |