You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

14 lines
287 B

package sample.vector;
public class Sample2 extends java.util.Vector {
public Object add(Object[] args) {
super.addElement(args[0]);
return null;
}
public Object at(Object[] args) {
int i = ((Integer)args[0]).intValue();
return super.elementAt(i);
}
}