Package org.geotools.data.vpf.io
Class TripletId
-
- All Implemented Interfaces:
Serializable
public class TripletId extends Number
Class TripletId.java is responsible for- Author:
- Artur Hefczyc, Knut-Erik Johnsen, Project OneMap, Jeff Yutzler
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description TripletId(byte[] data)
Creates a newTripletId
instance.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description byte
byteValue()
static int
calculateDataSize(byte definition)
DescribecalculateDataSize
method here.double
doubleValue()
float
floatValue()
int
getId()
Returns the ID valueint
getNextId()
Returns the Next IDint
getTileId()
Returns the Tile IDint
intValue()
long
longValue()
short
shortValue()
String
toString()
-
-
-
Method Detail
-
getId
public int getId()
Returns the ID value- Returns:
- Returns the ID, the first number of the triplet
-
getTileId
public int getTileId()
Returns the Tile ID- Returns:
- Returns the Tile ID, the second number of the triplet
-
getNextId
public int getNextId()
Returns the Next ID- Returns:
- Returns the Next ID, the third number of the triplet
-
calculateDataSize
public static int calculateDataSize(byte definition)
DescribecalculateDataSize
method here.- Parameters:
definition
- abyte
value indicating the details of the bytes- Returns:
- an
int
value
-
doubleValue
public double doubleValue()
- Specified by:
doubleValue
in classNumber
-
floatValue
public float floatValue()
- Specified by:
floatValue
in classNumber
-
shortValue
public short shortValue()
- Overrides:
shortValue
in classNumber
-
-