@Test public void test() { ok = Typ.isBasicType(String.class) || die("String is a basic type"); }
public static boolean isBasicType( Object value ) { return ( value instanceof Number || value instanceof CharSequence || value instanceof Date || value instanceof Calendar || value instanceof Currency || value instanceof Boolean ); }
Typ { public static boolean isBasicType( Object value ) { return ( value instanceof Number || value instanceof CharSequence || value instanceof Date || value instanceof Calendar || value instanceof Currency || value instanceof Boolean ); } }
Typ { public static boolean isBasicType( Object value ) { return ( value instanceof Number || value instanceof CharSequence || value instanceof Date || value instanceof Calendar || value instanceof Currency || value instanceof Boolean ); }  }
Typ { public static boolean isBasicType( Object value ) { return ( value instanceof Number || value instanceof CharSequence || value instanceof Date || value instanceof Calendar || value instanceof Currency || value instanceof Boolean ); }  static boolean doesMapHaveKeyTypeString( Object value ); static boolean isBasicType( Object value ); static boolean isPrimitiveOrWrapper( Class<?> theClass ); static boolean isBasicType( Class<?> theClass ); static boolean isMap( Class<?> thisType ); static boolean isValue( Class<?> thisType ); static boolean isCharSequence( Class<?> thisType ); static boolean isCollection( Class<?> thisType ); static boolean isList( Class<?> thisType ); static boolean isSet( Class<?> thisType ); static boolean isSortedSet( Class<?> thisType ); static boolean isType( Class<?> thisType, Class<?> isThisType ); static boolean isComparable( Object o ); static boolean isComparable( Class<?> type ); static boolean isSuperClass( Class<?> type, Class<?> possibleSuperType ); static boolean isSuperType( Class<?> type, Class<?> possibleSuperType ); static boolean implementsInterface( Class<?> type, Class<?> interfaceType ); static Class<?> getKeyType( Map<?, ?> value ); static Class<?> getComponentType( Collection value ); static boolean isAbstract( Class<T> clazz ); static boolean isBasicTypeOrCollection( Class<?> type ); static boolean isPrimitiveNumber(Class<?> arg1); static boolean isArray(Object obj); static boolean isStringArray(Object obj); static boolean isEnum(Class<?> componentType); }
Typ { public static boolean isBasicType( Object value ) { return ( value instanceof Number || value instanceof CharSequence || value instanceof Date || value instanceof Calendar || value instanceof Currency || value instanceof Boolean ); }  static boolean doesMapHaveKeyTypeString( Object value ); static boolean isBasicType( Object value ); static boolean isPrimitiveOrWrapper( Class<?> theClass ); static boolean isBasicType( Class<?> theClass ); static boolean isMap( Class<?> thisType ); static boolean isValue( Class<?> thisType ); static boolean isCharSequence( Class<?> thisType ); static boolean isCollection( Class<?> thisType ); static boolean isList( Class<?> thisType ); static boolean isSet( Class<?> thisType ); static boolean isSortedSet( Class<?> thisType ); static boolean isType( Class<?> thisType, Class<?> isThisType ); static boolean isComparable( Object o ); static boolean isComparable( Class<?> type ); static boolean isSuperClass( Class<?> type, Class<?> possibleSuperType ); static boolean isSuperType( Class<?> type, Class<?> possibleSuperType ); static boolean implementsInterface( Class<?> type, Class<?> interfaceType ); static Class<?> getKeyType( Map<?, ?> value ); static Class<?> getComponentType( Collection value ); static boolean isAbstract( Class<T> clazz ); static boolean isBasicTypeOrCollection( Class<?> type ); static boolean isPrimitiveNumber(Class<?> arg1); static boolean isArray(Object obj); static boolean isStringArray(Object obj); static boolean isEnum(Class<?> componentType); static final Class<Object> object; static final Class<String> string; static final Class<List> list; static final Class<CharSequence> chars; static final Class<Set> set; static final Class<Collection> collection; static final Class<Comparable> comparable; static final Class<Boolean> bool; static final Class<Integer> integer; static final Class<Long> longWrapper; static final Class<Double> doubleWrapper; static final Class<Float> floatWrapper; static final Class<Byte> byteWrapper; static final Class<Short> shortWrapper; static final Class<BigInteger> bigInteger; static final Class<BigDecimal> bigDecimal; static final Class<Number> number; static final Class<?> flt; static final Class<?> lng; static final Class<?> dbl; static final Class<?> intgr; static final Class<?> bln; static final Class<?> shrt; static final Class<?> chr; static final Class<?> bt; static final Class<Date> date; static final Class<Calendar> calendar; static final Class<File> file; static final Class<Path> path; static final Class<String[]> stringArray; static final Class<int[]> intArray; static final Class<byte[]> byteArray; static final Class<short[]> shortArray; static final Class<char[]> charArray; static final Class<long[]> longArray; static final Class<float[]> floatArray; static final Class<double[]> doubleArray; static final Class<Object[]> objectArray; }