Class UnspecifiedPosition
java.lang.Object
org.variantsync.boosting.position.Position
org.variantsync.boosting.position.UnspecifiedPosition
- All Implemented Interfaces:
Serializable
Represents an unspecified position.
- See Also:
-
Field Summary
Fields -
Method Summary
Modifier and TypeMethodDescriptionint
Gets the column number associated with this UnspecifiedPosition.boolean
Checks if this UnspecifiedPosition is equal to another object.filePath()
Gets the file path associated with this UnspecifiedPosition.int
hashCode()
Generates a hash code for this UnspecifiedPosition.int
Gets the line number associated with this UnspecifiedPosition.String[]
Serializes the position into an array of strings.Methods inherited from class org.variantsync.boosting.position.Position
fromSerializedPosition
-
Field Details
-
INSTANCE
-
-
Method Details
-
equals
Checks if this UnspecifiedPosition is equal to another object. -
hashCode
public int hashCode()Generates a hash code for this UnspecifiedPosition. -
serializedPosition
Serializes the position into an array of strings.- Specified by:
serializedPosition
in classPosition
- Returns:
- An array containing the value of this UnspecifiedPosition
-
filePath
Gets the file path associated with this UnspecifiedPosition. -
lineNumber
public int lineNumber()Gets the line number associated with this UnspecifiedPosition.- Specified by:
lineNumber
in classPosition
- 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 classPosition
- Returns:
- -1, as an unspecified position does not have a column number
-