Class UnspecifiedPosition

java.lang.Object
org.variantsync.boosting.position.Position
org.variantsync.boosting.position.UnspecifiedPosition
All Implemented Interfaces:
Serializable

public class UnspecifiedPosition extends Position
Represents an unspecified position.
See Also:
  • Field Details

  • Method Details

    • equals

      public boolean equals(Object o)
      Checks if this UnspecifiedPosition is equal to another object.
      Specified by:
      equals in class Position
      Parameters:
      o - The object to compare with this UnspecifiedPosition
      Returns:
      true if the objects are equal, false otherwise
    • hashCode

      public int hashCode()
      Generates a hash code for this UnspecifiedPosition.
      Specified by:
      hashCode in class Position
      Returns:
      The hash code value for this UnspecifiedPosition
    • serializedPosition

      public String[] serializedPosition()
      Serializes the position into an array of strings.
      Specified by:
      serializedPosition in class Position
      Returns:
      An array containing the value of this UnspecifiedPosition
    • filePath

      public Path filePath()
      Gets the file path associated with this UnspecifiedPosition.
      Specified by:
      filePath in class Position
      Returns:
      null, as an unspecified position does not have a file path
    • lineNumber

      public int lineNumber()
      Gets the line number associated with this UnspecifiedPosition.
      Specified by:
      lineNumber in class Position
      Returns:
      -1, as an unspecified position does not have a line number
    • columnNumber

      public int columnNumber()
      Gets the column number associated with this UnspecifiedPosition.
      Specified by:
      columnNumber in class Position
      Returns:
      -1, as an unspecified position does not have a column number