Class IntegerUtils


  • public class IntegerUtils
    extends java.lang.Object
    Integer utilities.
    Version:
    2015-05-12
    Author:
    Vladimir Dzhuvinov
    • Method Summary

      All Methods Static Methods Concrete Methods 
      Modifier and Type Method Description
      static byte[] toBytes​(int intValue)
      Returns a four byte array representation of the specified integer.
      • Methods inherited from class java.lang.Object

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

      • toBytes

        public static byte[] toBytes​(int intValue)
        Returns a four byte array representation of the specified integer.
        Parameters:
        intValue - The integer to be converted.
        Returns:
        The byte array representation of the integer.