org.geotools.data.vpf.io
Class TripletId

java.lang.Object
  extended byjava.lang.Number
      extended byorg.geotools.data.vpf.io.TripletId
All Implemented Interfaces:
java.io.Serializable

public class TripletId
extends java.lang.Number

DOCUMENT ME!

Author:
Jeff Yutzler
See Also:
Serialized Form

Constructor Summary
TripletId(byte[] data)
          Creates a new TripletId instance.
 
Method Summary
 byte byteValue()
           
static int calculateDataSize(byte definition)
          Describe calculateDataSize method here.
 double doubleValue()
           
 float floatValue()
           
 int getId()
          Returns the ID value
 int getNextId()
          Returns the Next ID
 int getTileId()
          Returns the Tile ID
 int intValue()
           
 long longValue()
           
 short shortValue()
           
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

TripletId

public TripletId(byte[] data)
Creates a new TripletId instance.

Parameters:
data - a byte[] value
Method Detail

toString

public java.lang.String 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)
Describe calculateDataSize method here.

Parameters:
definition - a byte value indicating the details of the bytes
Returns:
an int value

doubleValue

public double doubleValue()

floatValue

public float floatValue()

intValue

public int intValue()

longValue

public long longValue()

byteValue

public byte byteValue()

shortValue

public short shortValue()


Copyright © GeoTools. All Rights Reserved.