Java Reflection Primitive getWrapperClass(Class primitiveClass)

Here you can find the source of getWrapperClass(Class primitiveClass)

Description

get Wrapper Class

License

Open Source License

Declaration

public static Class<?> getWrapperClass(Class<?> primitiveClass) 

Method Source Code

//package com.java2s;

import java.util.Map;

public class Main {
    static private Map<Class<?>, Class<?>> primitiveClasses;

    public static Class<?> getWrapperClass(Class<?> primitiveClass) {
        return primitiveClasses.get(primitiveClass);
    }/*  ww w.  j  a  va 2s. c om*/
}

Related

  1. getRank(Class aNumberClass)
  2. getWrapper(Class clazz)
  3. getWrapper(Class type)
  4. getWrapper(final Class beanClass)
  5. getWrapperClass(Class clazz)
  6. getWrapperClass(String className)
  7. getWrapperClassForPrimitive(Class primitiveClass)
  8. getWrapperClassIfPrimitive(final Class clazz)
  9. isAJavaPrimitiveArrayClass(final Class type)