1 7 8 package org.objectweb.jac.lib.java.util; 9 10 import java.io.Serializable ; 11 import java.lang.Cloneable ; 12 import java.util.Collection ; 13 import java.util.Enumeration ; 14 import java.util.Iterator ; 15 import java.util.List ; 16 import java.util.ListIterator ; 17 import org.objectweb.jac.util.Strings; 18 19 20 public class Vector extends java.util.Vector { 21 22 24 public Object clone() { 25 System.out.println("Vector.clone"); 26 Object result = null; 27 try { 28 result = super.clone(); 29 } catch(Exception e) { 30 } 31 return result; 33 } 34 35 public Object elementAt(int index) { 36 return super.elementAt(index); 37 } 38 39 public int indexOf(Object obj) { 40 return super.indexOf(obj); 41 } 42 43 public int indexOf(Object obj, int index) { 44 return super.indexOf(obj, index); 45 } 46 47 public int lastIndexOf(Object obj) { 48 return super.lastIndexOf(obj); 49 } 50 51 public int lastIndexOf(Object obj, int index) { 52 return super.lastIndexOf(obj, index); 53 } 54 55 public boolean addAll(Collection c) { 56 return super.addAll(c); 57 } 58 59 public boolean addAll(int index, Collection c) { 60 return super.addAll(index, c); 61 } 62 63 public boolean add(Object obj) { 64 return super.add(obj); 65 } 66 67 public void add(int index, Object obj) { 68 super.add(index, obj); 69 } 70 71 public Object get(int index) { 72 return super.get(index); 73 } 74 75 public boolean contains(Object obj) { 76 return super.contains(obj); 77 } 78 79 public int size() { 80 return super.size(); 81 } 82 83 public Object [] toArray() { 84 return super.toArray(); 85 } 86 87 public Object [] toArray(Object [] array) { 88 return super.toArray(array); 89 } 90 91 public boolean remove(Object obj) { 92 return super.remove(obj); 93 } 94 95 public Object remove(int index) { 96 return super.remove(index); 97 } 98 99 public void removeRange(int from, int to) { 100 super.removeRange(from,to); 101 } 102 103 public void addElement(Object obj) { 104 super.addElement(obj); 105 } 106 107 public Enumeration elements() { 108 return super.elements(); 109 } 110 111 public void copyInto(Object [] array) { 112 super.copyInto(array); 113 } 114 115 public void clear() { 116 super.clear(); 117 } 118 119 public boolean isEmpty() { 120 return super.isEmpty(); 121 } 122 123 public Object set(int p0, Object p1) { 124 return super.set(p0, p1); 125 } 126 127 public void trimToSize() { 128 super.trimToSize(); 129 } 130 131 public void ensureCapacity(int p0) { 132 super.ensureCapacity(p0); 133 } 134 135 public void setSize(int p0) { 136 super.setSize(p0); 137 } 138 139 public int capacity() { 140 return super.capacity(); 141 } 142 143 public Object firstElement() { 144 return super.firstElement(); 145 } 146 147 public Object lastElement() { 148 return super.lastElement(); 149 } 150 151 public void setElementAt(Object p0, int p1) { 152 super.setElementAt(p0, p1); 153 } 154 155 public void removeElementAt(int p0) { 156 super.removeElementAt(p0); 157 } 158 159 public void insertElementAt(Object p0, int p1) { 160 super.insertElementAt(p0, p1); 161 } 162 163 public boolean removeElement(Object p0) { 164 return super.removeElement(p0); 165 } 166 167 public void removeAllElements() { 168 super.removeAllElements(); 169 } 170 171 public boolean containsAll(Collection p0) { 172 return super.containsAll(p0); 173 } 174 175 public boolean removeAll(Collection p0) { 176 return super.removeAll(p0); 177 } 178 179 public boolean retainAll(Collection p0) { 180 return super.retainAll(p0); 181 } 182 183 public List subList(int p0, int p1) { 184 return super.subList(p0, p1); 185 } 186 187 public Iterator iterator() { 188 return super.iterator(); 189 } 190 191 public ListIterator listIterator() { 192 return super.listIterator(); 193 } 194 195 public ListIterator listIterator(int p0) { 196 return super.listIterator(p0); 197 } 198 199 public boolean equals(Object o) { 200 return this == o; 201 } 202 203 public int hashCode() { 204 return System.identityHashCode(this); 205 } 206 207 public String toString() { 208 return getClass().getName()+"@"+System.identityHashCode(this); 209 } 210 } 211 | Popular Tags |