Java Reflection Primitive getBENameByPrimitiveClassName( String implementClassName)

Here you can find the source of getBENameByPrimitiveClassName( String implementClassName)

Description

Get the entity name of class

License

Apache License

Parameter

Parameter Description
implementClassName class name

Return

entity name of the class

Declaration

public static String getBENameByPrimitiveClassName(
        String implementClassName) 

Method Source Code

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

import java.util.HashMap;

public class Main {
    private static HashMap<String, String> primitiveBEMap = new HashMap<String, String>();

    /**//  w  w w.  j  a va 2  s .  c o m
     * Get the entity name of class
     * 
     * @param implementClassName
     *            class name
     * @return entity name of the class
     */
    public static String getBENameByPrimitiveClassName(
            String implementClassName) {
        return (String) primitiveBEMap.get(implementClassName);
    }
}

Related

  1. convertPrimitiveToWrapper(Class clazz)
  2. convertPrimitiveToWrapper(Class clazz)
  3. convertToPrimitive(Class type)
  4. convertWrapperToPrimitive(Class clazz)
  5. createDefaultPrimitive(Class type)
  6. getDefaultPrimitiveValue(Class clazz)
  7. getDefaultValue(Class primitive)
  8. getDefaultValueForPrimitive(Class type)
  9. getNullOrPrimitiveDefault(Class to)