Package sootup.core.model
Class Position
java.lang.Object
sootup.core.model.Position
- All Implemented Interfaces:
Comparable<Position>
- Direct Known Subclasses:
FullPosition
,LinePosition
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionint
Compares "Positions" by their starting line/column Note: this class has a natural ordering that is inconsistent with equalsboolean
abstract int
abstract int
abstract int
abstract int
toString()
-
Constructor Details
-
Position
public Position()
-
-
Method Details
-
getFirstLine
public abstract int getFirstLine() -
getLastLine
public abstract int getLastLine() -
getFirstCol
public abstract int getFirstCol() -
getLastCol
public abstract int getLastCol() -
toString
-
equals
-
compareTo
Compares "Positions" by their starting line/column Note: this class has a natural ordering that is inconsistent with equals- Specified by:
compareTo
in interfaceComparable<Position>
-