예제 #1
0
 public KonohaSpace() {
   // konoha<->java class map
   cl.put("int", KClass.intClass);
   cl.put("Int", KClass.intClass);
   cl.put("boolean", KClass.booleanClass);
   cl.put("Boolean", KClass.booleanClass);
   cl.put("void", KClass.voidClass);
   cl.put("String", KClass.stringClass);
   cl.put("System", KClass.systemClass);
 }
예제 #2
0
 public void addClass(String name, KClass klass) {
   cl.put(name, klass);
 }