Class Util


  • public class Util
    extends java.lang.Object
    Class offering static utility functions.
    • Method Summary

      All Methods Static Methods Concrete Methods 
      Modifier and Type Method Description
      static int convertToCommonAddress​(int byte1, int byte2)
      Returns the Common Address (CA) calculated from the given bytes.
      static int convertToInformationObjectAddress​(int byte1, int byte2, int byte3)
      Returns the Information Object Address (IOA) calculated from the given bytes.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Method Detail

      • convertToInformationObjectAddress

        public static int convertToInformationObjectAddress​(int byte1,
                                                            int byte2,
                                                            int byte3)
        Returns the Information Object Address (IOA) calculated from the given bytes. The first byte is the least significant byte of the IOA.
        Parameters:
        byte1 - the first byte
        byte2 - the second byte
        byte3 - the third byte
        Returns:
        the IOA
      • convertToCommonAddress

        public static int convertToCommonAddress​(int byte1,
                                                 int byte2)
        Returns the Common Address (CA) calculated from the given bytes. The first byte is the least significant byte of the CA.
        Parameters:
        byte1 - the first byte
        byte2 - the second byte
        Returns:
        the CA