Android examples for java.lang.reflect:Class
is Class representing a Basic Type
//package com.java2s; public class Main { public static boolean isBasicType(Class<?> clazz) { return (clazz == Integer.TYPE) || (clazz == Long.TYPE) || (clazz == Float.TYPE) || (clazz == Double.TYPE) || (clazz == Character.TYPE) || (clazz == Byte.TYPE) || (clazz == Short.TYPE); }/* w w w. j a va2 s .com*/ }