java.lang.Object | |
↳ | com.pnfsoftware.jeb.core.output.code.coordinates.CodeCoordinatesUtil |
Utility methods for ICodeCoordinates
implementing classes.
Public Constructors | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
CodeCoordinatesUtil() |
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
static int |
distance(ICodeCoordinates a, ICodeCoordinates b)
Calculate the distance between two coordinates.
| ||||||||||
static Integer |
getBaseObjectIndex(ICodeCoordinates coords)
Provide the base object index of a coordinates object.
| ||||||||||
static Integer |
getMethodObjectIndex(ICodeCoordinates coords)
Provide the method object index of a coordinates object.
| ||||||||||
static ICodeCoordinates |
getMostAccurate(ICodeCoordinates a, ICodeCoordinates b)
Determine which coordinates appear to be the most "accurate".
|
[Expand]
Inherited Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
From class
java.lang.Object
|
Calculate the distance between two coordinates.
a | first coordinates |
---|---|
b | second coordinates |
Provide the base object index of a coordinates object.
NativeCoordinates
)
Provide the method object index of a coordinates object.
Determine which coordinates appear to be the most "accurate".
a | first coordinates |
---|---|
b | second coordinates |