|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectde.uni_paderborn.fujaba.basic.ClassMap
This class caches class.forName calls, since these calls seem to be expensive.
Field Summary | |
private static java.util.Hashtable |
map
No comment provided by developer, please add a comment to improve documentation. |
private static ClassMap |
theInstance
The singleton instance. |
Constructor Summary | |
private |
ClassMap()
Default Constructor |
Method Summary | |
java.lang.Class |
forName(java.lang.String name)
No comment provided by developer, please add a comment to improve documentation. |
static ClassMap |
get()
Get and init the Singleton instance. |
java.lang.Class |
getClass(java.lang.String name)
Try to find class 'name'. |
private void |
init()
Fill classes with java basetypes (boolean, byte, char, short, int, long, float, and double). |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
private static ClassMap theInstance
private static java.util.Hashtable map
Constructor Detail |
private ClassMap()
Method Detail |
public static ClassMap get()
private void init()
public java.lang.Class forName(java.lang.String name) throws java.lang.ClassNotFoundException
name
- No description provided
java.lang.ClassNotFoundException
- Exception description not providedpublic java.lang.Class getClass(java.lang.String name)
name
- the name of class
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |