@Test public void testNormalize_Int() { Integer integer = new Integer(5); Long smallLong = new Long(5); assertSame(integer, Normalizer.normalize(integer, Integer.class)); assertEquals(smallLong, Normalizer.normalize(integer, Long.class)); }
public static Object normalize(Object value, Class<?> numericType) { TypeNormalizer normalizer = NORMALIZERS.get(numericType); return normalizer == null ? value : normalizer.normalize(value); }
Normalizer { public static Object normalize(Object value, Class<?> numericType) { TypeNormalizer normalizer = NORMALIZERS.get(numericType); return normalizer == null ? value : normalizer.normalize(value); } }
Normalizer { public static Object normalize(Object value, Class<?> numericType) { TypeNormalizer normalizer = NORMALIZERS.get(numericType); return normalizer == null ? value : normalizer.normalize(value); }  }
Normalizer { public static Object normalize(Object value, Class<?> numericType) { TypeNormalizer normalizer = NORMALIZERS.get(numericType); return normalizer == null ? value : normalizer.normalize(value); }  static Object normalize(Object value, Class<?> numericType); }
Normalizer { public static Object normalize(Object value, Class<?> numericType) { TypeNormalizer normalizer = NORMALIZERS.get(numericType); return normalizer == null ? value : normalizer.normalize(value); }  static Object normalize(Object value, Class<?> numericType);  }