001 /** 002 * This class delegates to java.util.Vector 003 * This file was automatically generated by JAC (-g option) 004 * DO NOT MODIFY 005 * Author: Renaud Pawlak (pawlak@cnam.fr) 006 */ 007 008 package org.objectweb.jac.lib.java.util; 009 010 import java.io.Serializable; 011 import java.lang.Cloneable; 012 import java.util.Collection; 013 import java.util.Enumeration; 014 import java.util.Iterator; 015 import java.util.List; 016 import java.util.ListIterator; 017 import org.objectweb.jac.util.Strings; 018 019 020 public class Vector extends java.util.Vector { 021 022 //private java.util.Vector delegate = new java.util.Vector(); 023 024 public Object clone() { 025 System.out.println("Vector.clone"); 026 Object result = null; 027 try { 028 result = super.clone(); 029 } catch(Exception e) { 030 } 031 //((Vector)result).delegate = (java.util.Vector)delegate.clone(); 032 return result; 033 } 034 035 public Object elementAt(int index) { 036 return super.elementAt(index); 037 } 038 039 public int indexOf(Object obj) { 040 return super.indexOf(obj); 041 } 042 043 public int indexOf(Object obj, int index) { 044 return super.indexOf(obj, index); 045 } 046 047 public int lastIndexOf(Object obj) { 048 return super.lastIndexOf(obj); 049 } 050 051 public int lastIndexOf(Object obj, int index) { 052 return super.lastIndexOf(obj, index); 053 } 054 055 public boolean addAll(Collection c) { 056 return super.addAll(c); 057 } 058 059 public boolean addAll(int index, Collection c) { 060 return super.addAll(index, c); 061 } 062 063 public boolean add(Object obj) { 064 return super.add(obj); 065 } 066 067 public void add(int index, Object obj) { 068 super.add(index, obj); 069 } 070 071 public Object get(int index) { 072 return super.get(index); 073 } 074 075 public boolean contains(Object obj) { 076 return super.contains(obj); 077 } 078 079 public int size() { 080 return super.size(); 081 } 082 083 public Object[] toArray() { 084 return super.toArray(); 085 } 086 087 public Object[] toArray(Object[] array) { 088 return super.toArray(array); 089 } 090 091 public boolean remove(Object obj) { 092 return super.remove(obj); 093 } 094 095 public Object remove(int index) { 096 return super.remove(index); 097 } 098 099 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 }