Class TripletId

    • Constructor Detail

      • TripletId

        public TripletId​(byte[] data)
        Creates a new TripletId instance.
        Parameters:
        data - a byte[] value
    • 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)
        Describe calculateDataSize method here.
        Parameters:
        definition - a byte value indicating the details of the bytes
        Returns:
        an int value
      • doubleValue

        public double doubleValue()
        Specified by:
        doubleValue in class Number
      • floatValue

        public float floatValue()
        Specified by:
        floatValue in class Number
      • intValue

        public int intValue()
        Specified by:
        intValue in class Number
      • longValue

        public long longValue()
        Specified by:
        longValue in class Number
      • byteValue

        public byte byteValue()
        Overrides:
        byteValue in class Number
      • shortValue

        public short shortValue()
        Overrides:
        shortValue in class Number