|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectkoala.dynamicjava.interpreter.ClassPool
The instances of this class contains classinfos
Field Summary | |
protected java.util.Map |
classes
The map that contains the classinfos |
Constructor Summary | |
ClassPool()
|
Method Summary | |
ClassInfo |
add(java.lang.String cn,
ClassInfo ci)
Adds a classinfo to the pool |
boolean |
contains(java.lang.String cn)
Tests whether this pool contains the given class |
ClassInfo |
get(java.lang.String cn)
Returns the class info mapped with the given key |
ClassInfo |
getFirstCompilable()
Gets the first compilable class in the pool |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
protected java.util.Map classes
Constructor Detail |
public ClassPool()
Method Detail |
public ClassInfo add(java.lang.String cn, ClassInfo ci)
cn
- the classnameci
- the classinfo
public boolean contains(java.lang.String cn)
cn
- the classnamepublic ClassInfo get(java.lang.String cn)
cn
- the classnamepublic ClassInfo getFirstCompilable()
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |