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.

Sample2.java 287B

12345678910111213
  1. package sample.vector;
  2. public class Sample2 extends java.util.Vector {
  3. public Object add(Object[] args) {
  4. super.addElement(args[0]);
  5. return null;
  6. }
  7. public Object at(Object[] args) {
  8. int i = ((Integer)args[0]).intValue();
  9. return super.elementAt(i);
  10. }
  11. }