Package org.geotools.data.vpf.io
Class TripletId
- All Implemented Interfaces:
Serializable
Class TripletId.java is responsible for
- Author:
- Artur Hefczyc, Knut-Erik Johnsen, Project OneMap, Jeff Yutzler
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbyte
static int
calculateDataSize
(byte definition) DescribecalculateDataSize
method here.double
float
int
getId()
Returns the ID valueint
Returns the Next IDint
Returns the Tile IDint
intValue()
long
short
toString()
-
Constructor Details
-
TripletId
public TripletId(byte[] data) Creates a newTripletId
instance.- Parameters:
data
- abyte[]
value
-
-
Method Details
-
toString
-
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
-
intValue
public int intValue() -
longValue
public long longValue() -
byteValue
public byte byteValue() -
shortValue
public short shortValue()- Overrides:
shortValue
in classNumber
-