gt: 	    case 11: //	delete(int)
context: package jcc2.lib.utillib;
  
  import jcc2.common.ClassContainer;
  import jcc2.common.MethodContainer;
  import jcc2.common.Type;
  import jcc2.lib.RTObject;
  
  
  /***
   * 
   * @author NeiroNext
   *
   */
  
  public class Vector extends RTObject
  {
    static ClassContainer ctClass = null;
    static boolean bInit = false;
    public java.util.Vector v;
  
    public Vector(){
      init();
    }
  
    public Vector(int size) {
      init(size);
    }
  
    public void init() {
      v = new java.util.Vector();
    }
  
    public void init(int size) {
      v = new java.util.Vector(size);
    }
  
    
    
    
    
    public static ClassContainer getClassContainer()
    {
      if (ctClass != null)
        return ctClass;
      ClassContainer container = new ClassContainer("Vector");
      container.className = "jcc2/lib/utillib/Vector";
      
      ctClass = container;
      return ctClass;
    }
  
    
    
    
    public static void initClassContainer ()
    {
  	if (bInit)
            return;
        bInit = true;
        
        ClassContainer container = getClassContainer ();
        
        Type[] args;
        MethodContainer method;
        int mid = 0;
  
        args = new Type[0];
        method = new MethodContainer("<init>", Type.TYPE_VOID, args, null, mid++);
        container.addMethod(method);
  
        args = new Type[1];
        args[0] = Type.TYPE_INT;
        method = new MethodContainer("<init>", Type.TYPE_VOID, args, null, mid++);
        container.addMethod(method);
  
        args = new Type[1];
        args[0] = Type.TYPE_OBJECT;
        method = new MethodContainer("add", Type.TYPE_VOID, args, null, mid++);
        container.addMethod(method);
  
        args = new Type[2];
        args[0] = Type.TYPE_OBJECT;
        args[1] = Type.TYPE_INT;
        method = new MethodContainer("insert", Type.TYPE_VOID, args, null, mid++);
        container.addMethod(method);
  
        args = new Type[2];
        args[0] = Type.TYPE_OBJECT;
        args[1] = Type.TYPE_INT;
        method = new MethodContainer("set", Type.TYPE_VOID, args, null, mid++);
        container.addMethod(method);
  
        args = new Type[1];
        args[0] = Type.TYPE_INT;
        method = new MethodContainer("get", Type.TYPE_OBJECT, args, null, mid++);
        container.addMethod(method);
  
        args = new Type[0];
        method = new MethodContainer("size", Type.TYPE_INT, args, null, mid++);
        container.addMethod(method);
  
        args = new Type[1];
        args[0] = Type.TYPE_OBJECT;
        method = new MethodContainer("indexOf", Type.TYPE_INT, args, null, mid++);
        container.addMethod(method);
  
        args = new Type[2];
        args[0] = Type.TYPE_OBJECT;
        args[1] = Type.TYPE_INT;
        method = new MethodContainer("indexOf", Type.TYPE_INT, args, null, mid++);
        container.addMethod(method);
  
        args = new Type[1];
        args[0] = Type.TYPE_OBJECT;
        method = new MethodContainer("lastIndexOf", Type.TYPE_INT, args, null, mid++);
        container.addMethod(method);
  
        args = new Type[2];
        args[0] = Type.TYPE_OBJECT;
        args[1] = Type.TYPE_INT;
        method = new MethodContainer("lastIndexOf", Type.TYPE_INT, args, null, mid++);
        container.addMethod(method);
  
        args = new Type[1];
        args[0] = Type.TYPE_INT;
        method = new MethodContainer("delete", Type.TYPE_VOID, args, null, mid++);
        container.addMethod(method);
  
        args = new Type[1];
        args[0] = Type.TYPE_OBJECT;
        method = new MethodContainer("delete", Type.TYPE_VOID, args, null, mid++);
        container.addMethod(method);
  
        args = new Type[0];
        method = new MethodContainer("deleteAll", Type.TYPE_VOID, args, null, mid++);
        container.addMethod(method);
  
        args = new Type[0];
        method = new MethodContainer("isEmpty", Type.TYPE_BOOL, args, null, mid++);
        container.addMethod(method);
  
        args = new Type[1];
        args[0] = Type.TYPE_OBJECT;
        method = new MethodContainer("contains", Type.TYPE_BOOL, args, null, mid++);
        container.addMethod(method);
  
        args = new Type[0];
        method = new MethodContainer("getObjectArray", Type.TYPE_AOBJECT, args, null, mid++);
        container.addMethod(method);
        
    }
    
    
    
    
    public Object rtInvoke(int iMethod, Object[] args) throws Exception
    {
      switch (iMethod)
      {
  	    case 0: //	init
  	    {
  	        init();
  	        return Type.TYPE_VOID;
  	    }
  	
  	    case 1: //	init(int)
  	    {
  	        init(((int[])args[0])[0]);
  	        return Type.TYPE_VOID;
  	    }
  	
  	    case 2: //	add(Object)
  	    {
  	        add(args[0]);
  	        return Type.TYPE_VOID;
  	    }
  	
  	    case 3: //	insert(Oject, int)
  	    {
  	        insert(args[0], ((int[])args[1])[0]);
  	        return Type.TYPE_VOID;
  	    }
  	
  	    case 4: //	set(Object, int)
  	    {
  	        set(args[0], ((int[])args[1])[0]);
  	        return Type.TYPE_VOID;
  	    }
  	
  	    case 5: //	get(int)
  	    {
  	        return get(((int[])args[0])[0]);
  	    }
  	
  	    case 6: //	size()
  	    {
  	        int ret[] = { size() };
  	        return ret;
  	    }
  	
  	    case 7: //	indexOf(Object)
  	    {
  	        int ret[] = { indexOf(args[0]) };
  	        return ret;
  	    }
  	
  	    case 8: //	indexOf(Object, int)
  	    {
  	        int ret[] = { indexOf(args[0], ((int[])args[1])[0]) };
  	        return ret;
  	    }
  	
  	    case 9: //	lastIndexOf(Object)
  	    {
  	        int ret[] = { lastIndexOf(args[0]) };
  	        return ret;
  	    }
  	
  	    case 10: //	lastIndexOf(Object, int)
  	    {
  	        int ret[] = { lastIndexOf(args[0], ((int[])args[1])[0]) };
  	        return ret;
  	    }
  	
  