is Class Float Type - Android java.lang.reflect

Android examples for java.lang.reflect:Class

Description

is Class Float Type

Demo Code


//package com.java2s;

public class Main {
    public static boolean isFloatType(Class<?> type) {
        return (type == Float.class) || (type == Float.TYPE);
    }/*from  w  w w  .  j  a v a2s  .c  o  m*/
}

Related Tutorials