KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > org > objectweb > jac > lib > java > util > Vector


1 /**
2  * This class delegates to java.util.Vector
3  * This file was automatically generated by JAC (-g option)
4  * DO NOT MODIFY
5  * Author: Renaud Pawlak (pawlak@cnam.fr)
6  */

7
8 package org.objectweb.jac.lib.java.util;
9
10 import java.io.Serializable JavaDoc;
11 import java.lang.Cloneable JavaDoc;
12 import java.util.Collection JavaDoc;
13 import java.util.Enumeration JavaDoc;
14 import java.util.Iterator JavaDoc;
15 import java.util.List JavaDoc;
16 import java.util.ListIterator JavaDoc;
17 import org.objectweb.jac.util.Strings;
18
19
20 public class Vector extends java.util.Vector JavaDoc {
21
22     //private java.util.Vector delegate = new java.util.Vector();
23

24     public Object JavaDoc clone() {
25         System.out.println("Vector.clone");
26         Object JavaDoc result = null;
27         try {
28            result = super.clone();
29         } catch(Exception JavaDoc e) {
30         }
31         //((Vector)result).delegate = (java.util.Vector)delegate.clone();
32
return result;
33     }
34
35     public Object JavaDoc elementAt(int index) {
36         return super.elementAt(index);
37     }
38
39     public int indexOf(Object JavaDoc obj) {
40         return super.indexOf(obj);
41     }
42
43     public int indexOf(Object JavaDoc obj, int index) {
44         return super.indexOf(obj, index);
45     }
46
47     public int lastIndexOf(Object JavaDoc obj) {
48         return super.lastIndexOf(obj);
49     }
50
51     public int lastIndexOf(Object JavaDoc obj, int index) {
52         return super.lastIndexOf(obj, index);
53     }
54
55     public boolean addAll(Collection JavaDoc c) {
56         return super.addAll(c);
57     }
58
59     public boolean addAll(int index, Collection JavaDoc c) {
60         return super.addAll(index, c);
61     }
62
63     public boolean add(Object JavaDoc obj) {
64         return super.add(obj);
65     }
66
67     public void add(int index, Object JavaDoc obj) {
68         super.add(index, obj);
69     }
70
71     public Object JavaDoc get(int index) {
72         return super.get(index);
73     }
74
75     public boolean contains(Object JavaDoc obj) {
76         return super.contains(obj);
77     }
78
79     public int size() {
80         return super.size();
81     }
82
83     public Object JavaDoc[] toArray() {
84         return super.toArray();
85     }
86
87     public Object JavaDoc[] toArray(Object JavaDoc[] array) {
88         return super.toArray(array);
89     }
90
91     public boolean remove(Object JavaDoc obj) {
92         return super.remove(obj);
93     }
94
95     public Object JavaDoc 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 JavaDoc obj) {
104         super.addElement(obj);
105     }
106
107     public Enumeration JavaDoc elements() {
108         return super.elements();
109     }
110
111     public void copyInto(Object JavaDoc[] 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 JavaDoc set(int p0, Object JavaDoc 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 JavaDoc firstElement() {
144         return super.firstElement();
145     }
146
147     public Object JavaDoc lastElement() {
148         return super.lastElement();
149     }
150
151     public void setElementAt(Object JavaDoc 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 JavaDoc p0, int p1) {
160         super.insertElementAt(p0, p1);
161     }
162
163     public boolean removeElement(Object JavaDoc p0) {
164         return super.removeElement(p0);
165     }
166
167     public void removeAllElements() {
168         super.removeAllElements();
169     }
170
171     public boolean containsAll(Collection JavaDoc p0) {
172         return super.containsAll(p0);
173     }
174
175     public boolean removeAll(Collection JavaDoc p0) {
176         return super.removeAll(p0);
177     }
178
179     public boolean retainAll(Collection JavaDoc p0) {
180         return super.retainAll(p0);
181     }
182
183     public List JavaDoc subList(int p0, int p1) {
184         return super.subList(p0, p1);
185     }
186
187     public Iterator JavaDoc iterator() {
188         return super.iterator();
189     }
190
191     public ListIterator JavaDoc listIterator() {
192         return super.listIterator();
193     }
194
195     public ListIterator JavaDoc listIterator(int p0) {
196         return super.listIterator(p0);
197     }
198
199     public boolean equals(Object JavaDoc o) {
200         return this == o;
201     }
202
203     public int hashCode() {
204         return System.identityHashCode(this);
205     }
206
207     public String JavaDoc toString() {
208         return getClass().getName()+"@"+System.identityHashCode(this);
209     }
210 }
211
Popular Tags