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 newTripletIdinstance.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description bytebyteValue()static intcalculateDataSize(byte definition)DescribecalculateDataSizemethod here.doubledoubleValue()floatfloatValue()intgetId()Returns the ID valueintgetNextId()Returns the Next IDintgetTileId()Returns the Tile IDintintValue()longlongValue()shortshortValue()StringtoString()
-
-
-
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)
DescribecalculateDataSizemethod here.- Parameters:
definition- abytevalue indicating the details of the bytes- Returns:
- an
intvalue
-
doubleValue
public double doubleValue()
- Specified by:
doubleValuein classNumber
-
floatValue
public float floatValue()
- Specified by:
floatValuein classNumber
-
shortValue
public short shortValue()
- Overrides:
shortValuein classNumber
-
-