Java Class Type Check isNumeralType(final Class c)

Here you can find the source of isNumeralType(final Class c)

Description

is Numeral Type

License

Open Source License

Declaration

public static boolean isNumeralType(final Class<?> c) 

Method Source Code

//package com.java2s;
//License from project: Open Source License 

import java.util.*;

public class Main {
    final static private ArrayList<Class<?>> NumeralTypes = new ArrayList<>();

    public static boolean isNumeralType(final Class<?> c) {
        return NumeralTypes.contains(c);
    }// w w w. j a  v  a 2s  .co  m
}

Related

  1. isMap(Class o)
  2. isMapType(final Class type)
  3. isMethodReturnTypeValid(Class cls)
  4. isNumber(Class type)
  5. isNumberType(Class type)
  6. isPrimitive(Class c)
  7. isPrimitiveType(Class clazz)
  8. isPrimitiveType(String className)
  9. isPrimitiveWrapper(Class clazz)