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 TypeMethodDescriptionintGets the column number associated with this UnspecifiedPosition.booleanChecks if this UnspecifiedPosition is equal to another object.filePath()Gets the file path associated with this UnspecifiedPosition.inthashCode()Generates a hash code for this UnspecifiedPosition.intGets 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:
serializedPositionin 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:
lineNumberin 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:
columnNumberin classPosition- Returns:
- -1, as an unspecified position does not have a column number
-