Java Reflection Primitive getPrimitiveType(String javaClassName)

Here you can find the source of getPrimitiveType(String javaClassName)

Description

get Primitive Type

License

Open Source License

Declaration

public static Class<?> getPrimitiveType(String javaClassName) 

Method Source Code

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

import java.util.Map;

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

    public static Class<?> getPrimitiveType(String javaClassName) {
        return javaPrimitiveToType.get(javaClassName);
    }//w ww  .j a  v a2  s.c om
}

Related

  1. getPrimitiveClassIfWrapper(Class clazz)
  2. getPrimitiveDefault(Class primitiveClazz)
  3. getPrimitivePromotionCost(final Class srcClass, final Class destClass)
  4. getPrimitiveSize(Class type)
  5. getPrimitiveType(Class clazz)
  6. getPrimitiveWrapper(Class primitiveType)
  7. getRank(Class aNumberClass)
  8. getWrapper(Class clazz)
  9. getWrapper(Class type)