is Class Double Type - Android java.lang.reflect

Android examples for java.lang.reflect:Class

Description

is Class Double Type

Demo Code


//package com.java2s;

public class Main {
    public static boolean isDoubleType(Class<?> type) {
        return (type == Double.class) || (type == Double.TYPE);
    }/*from   ww  w . j a  va2  s  . c  o  m*/
}

Related Tutorials