@Test public void testIsPrimitiveNumber() { assertTrue(ClassUtil.isPrimitiveNumber(int.class)); assertFalse(ClassUtil.isPrimitiveNumber(String.class)); }
public static boolean isPrimitiveNumber(Object obj) { return isPrimitiveNumber(obj.getClass()); }
ClassUtil { public static boolean isPrimitiveNumber(Object obj) { return isPrimitiveNumber(obj.getClass()); } }
ClassUtil { public static boolean isPrimitiveNumber(Object obj) { return isPrimitiveNumber(obj.getClass()); } private  ClassUtil(); }
ClassUtil { public static boolean isPrimitiveNumber(Object obj) { return isPrimitiveNumber(obj.getClass()); } private  ClassUtil(); static boolean isA(Class<?> what, Class<?> interfaceOrSuper); static boolean isA(Object what, Class<?> interfaceOrSuper); static boolean isPrimitiveNumber(Object obj); static boolean isPrimitiveNumber(Class<?> c); static boolean isNumber(Object obj); static boolean isNumber(Class<?> c); static boolean isNumeric(Object obj); static boolean isWrapper(Class<?> cls); }
ClassUtil { public static boolean isPrimitiveNumber(Object obj) { return isPrimitiveNumber(obj.getClass()); } private  ClassUtil(); static boolean isA(Class<?> what, Class<?> interfaceOrSuper); static boolean isA(Object what, Class<?> interfaceOrSuper); static boolean isPrimitiveNumber(Object obj); static boolean isPrimitiveNumber(Class<?> c); static boolean isNumber(Object obj); static boolean isNumber(Class<?> c); static boolean isNumeric(Object obj); static boolean isWrapper(Class<?> cls);  }