public static String toString(final int intValue){
  return Integer.toHexString(intValue);
}

public static String toString ( final int intValue ) { return Integer . toHexString ( intValue ) ; }
turns an integer into a hexadecimal string .
