@Test public void testHex() { final Object[][] testParameters = new Object[][] {{1, "00000001"}, {2, "00000002"}, {3, "00000003"}, {10, "0000000a"}, {12, "0000000c"}, {25, "00000019"}, {50, "00000032"}, {1024, "00000400"}}; for (final Object[] testParameter : testParameters) { String expected = (String) testParameter[1]; int value = (Integer) testParameter[0]; assertEquals(expected, ObjectUtils.hex(value)); } }
protected static String hex( final int value) { return format("%08x", value); }
ObjectUtils { protected static String hex( final int value) { return format("%08x", value); } }
ObjectUtils { protected static String hex( final int value) { return format("%08x", value); }  }
ObjectUtils { protected static String hex( final int value) { return format("%08x", value); }  static String guid(); static String guid(
      final Object obj); static boolean equal(
      final Object obj1,
      final Object obj2); static int compare(
      final Comparable<T> o1,
      final T o2); static K nvl(
      final K... objs); }
ObjectUtils { protected static String hex( final int value) { return format("%08x", value); }  static String guid(); static String guid(
      final Object obj); static boolean equal(
      final Object obj1,
      final Object obj2); static int compare(
      final Comparable<T> o1,
      final T o2); static K nvl(
      final K... objs);  }