Package org.jparsec.error
Class Location
- java.lang.Object
-
- org.jparsec.error.Location
-
@Deprecated public final class Location extends java.lang.Object
Deprecated.Prefer to useSourceLocation
instead.Represents a line and column number of a character or token in the source.
-
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description boolean
equals(java.lang.Object obj)
Deprecated.int
hashCode()
Deprecated.java.lang.String
toString()
Deprecated.
-
-
-
Constructor Detail
-
Location
public Location(int line, int column)
Deprecated.Creates aLocation
instance.- Parameters:
line
- line numbercolumn
- column number
-
-
Method Detail
-
equals
public boolean equals(java.lang.Object obj)
Deprecated.- Overrides:
equals
in classjava.lang.Object
-
hashCode
public int hashCode()
Deprecated.- Overrides:
hashCode
in classjava.lang.Object
-
toString
public java.lang.String toString()
Deprecated.- Overrides:
toString
in classjava.lang.Object
-
-