Java Class Type Check isSupportedParameter(Class type)

Here you can find the source of isSupportedParameter(Class type)

Description

is Supported Parameter

License

Apache License

Declaration

public static boolean isSupportedParameter(Class type) 

Method Source Code

//package com.java2s;
//License from project: Apache License 

import java.util.*;

public class Main {
    private final static Set<Class> supportedParamTypes = new HashSet<Class>();

    public static boolean isSupportedParameter(Class type) {
        if (supportedParamTypes.contains(type)) {
            return true;
        }//from  w w w  .  j a  va 2 s  .  com
        return false;
    }
}

Related

  1. isPrimitiveType(String className)
  2. isPrimitiveWrapper(Class clazz)
  3. isPrimitiveWrapper(Class type)
  4. isSimpleClass(Class clazz)
  5. isSimpleType(Class clazz)
  6. isTerminal(Class clazz)
  7. isTypeConvertible(Class srcType, Class destType)
  8. isUniformCollection(Collection c, Class e)
  9. isWrapperOfPrimitiveType(Class primitiveType, Class otherType)