00001 using System;
00002 using System.Collections;
00003
00004 namespace Tamir.SharpSsh.java.util
00005 {
00009 public class Vector : ArrayList
00010 {
00011 public int size()
00012 {
00013 return this.Count;
00014 }
00015
00016 public void addElement(object o)
00017 {
00018 this.Add(o);
00019 }
00020
00021 public void add(object o)
00022 {
00023 addElement(o);
00024 }
00025
00026 public void removeElement(object o)
00027 {
00028 this.Remove(o);
00029 }
00030
00031 public bool remove(object o)
00032 {
00033 this.Remove(o);
00034 return true;
00035 }
00036
00037 public object elementAt(int i)
00038 {
00039 return this[i];
00040 }
00041
00042 public object get(int i)
00043 {
00044 return elementAt(i);;
00045 }
00046
00047 public void clear()
00048 {
00049 this.Clear();
00050 }
00051
00052 public string toString()
00053 {
00054 return ToString();
00055 }
00056 }
00057 }