Class Location

java.lang.Object
org.jparsec.error.Location

@Deprecated public final class Location extends Object
Deprecated.
Prefer to use SourceLocation instead.
Represents a line and column number of a character or token in the source.
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    final int
    Deprecated.
    1-based column number.
    final int
    Deprecated.
    1-based line number.
  • Constructor Summary

    Constructors
    Constructor
    Description
    Location(int line, int column)
    Deprecated.
    Creates a Location instance.
  • Method Summary

    Modifier and Type
    Method
    Description
    boolean
    Deprecated.
     
    int
    Deprecated.
     
    Deprecated.
     

    Methods inherited from class java.lang.Object

    clone, finalize, getClass, notify, notifyAll, wait, wait, wait
  • Field Details

    • line

      public final int line
      Deprecated.
      1-based line number.
    • column

      public final int column
      Deprecated.
      1-based column number.
  • Constructor Details

    • Location

      public Location(int line, int column)
      Deprecated.
      Creates a Location instance.
      Parameters:
      line - line number
      column - column number
  • Method Details

    • equals

      public boolean equals(Object obj)
      Deprecated.
      Overrides:
      equals in class Object
    • hashCode

      public int hashCode()
      Deprecated.
      Overrides:
      hashCode in class Object
    • toString

      public String toString()
      Deprecated.
      Overrides:
      toString in class Object