Java Class Type Check isPrimitiveWrapper(Class clazz)

Here you can find the source of isPrimitiveWrapper(Class clazz)

Description

is Primitive Wrapper

License

Apache License

Declaration

public static boolean isPrimitiveWrapper(Class<?> clazz) 

Method Source Code

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

import java.util.*;

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

    public static boolean isPrimitiveWrapper(Class<?> clazz) {
        return primitiveWrapperTypes.contains(clazz);
    }//from w  w w.j  a va 2s .  c  o m
}

Related

  1. isNumberType(Class type)
  2. isNumeralType(final Class c)
  3. isPrimitive(Class c)
  4. isPrimitiveType(Class clazz)
  5. isPrimitiveType(String className)
  6. isPrimitiveWrapper(Class type)
  7. isSimpleClass(Class clazz)
  8. isSimpleType(Class clazz)
  9. isSupportedParameter(Class type)