@Test public void testNormalize_Long() { Long smallLong = new Long(5); assertSame(smallLong, Normalizer.normalize(smallLong, Integer.class)); assertSame(smallLong, Normalizer.normalize(smallLong, Long.class)); Long bigLong = new Long(Integer.MAX_VALUE + 1000); assertSame(bigLong, Normalizer.normalize(bigLong, Integer.class)); assertSame(bigLong, Normalizer.normalize(bigLong, 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);  }