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 Link icon

  • Method Details Link icon

    • equals Link icon

      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 Link icon

      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 Link icon

      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 Link icon

      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 Link icon

      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 Link icon

      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