is Class Integer Type - Android java.lang.reflect

Android examples for java.lang.reflect:Class

Description

is Class Integer Type

Demo Code


//package com.java2s;

public class Main {
    public static boolean isIntegerType(Class<?> type) {
        return (type == Integer.class) || (type == Integer.TYPE);
    }//w  ww . j  a v  a  2  s .  c  o m
}

Related Tutorials