is Class Char Type - Android java.lang.reflect

Android examples for java.lang.reflect:Class

Description

is Class Char Type

Demo Code


//package com.java2s;

public class Main {
    public static boolean isCharType(Class<?> type) {
        return (type == Character.class) || (type == Character.TYPE);
    }/*from   w  w w  . j a v  a2 s. com*/
}

Related Tutorials