Class LineColumn

    • Constructor Detail

      • LineColumn

        public LineColumn​(int line,
                          int column)
        Constructs a new pair of line and column numbers.
        Parameters:
        line - the one-based line number
        column - the zero-based column number
    • Method Detail

      • getLine

        public int getLine()
        Gets the one-based line number.
        Returns:
        the one-based line number
      • getColumn

        public int getColumn()
        Gets the zero-based column number.
        Returns:
        the zero-based column number
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class Object