is Class Long Type - Android java.lang.reflect

Android examples for java.lang.reflect:Class

Description

is Class Long Type

Demo Code


//package com.java2s;

public class Main {
    public static boolean isLongType(Class<?> type) {
        return (type == Long.class) || (type == Long.TYPE);
    }/*from  w ww.  j av  a  2 s  .co  m*/
}

Related Tutorials