/Users/lyon/j4p/src/net/rmi/rmiSynth/lex/StringVector.java

1    /** 
2     * Class StringVector - type-safe vector of strings 
3     * Automatically generated 
4     */ 
5     
6    package net.rmi.rmiSynth.lex; 
7     
8    public class StringVector { 
9        private java.util.Vector v = new java.util.Vector(); 
10    
11       //This method was added manually 
12       public String toCSV() { 
13           String s = ""; 
14           int vSize = v.size(); 
15           for (int i = 0; i < vSize; i++) { 
16               s = s + v.elementAt(i); 
17               s = s + 
18                   ((i < vSize - 1) ? 
19                    "," : 
20                    " "); 
21           } 
22           return s; 
23       } 
24    
25       public int hashCode() { 
26           return v.hashCode(); 
27       } 
28    
29       public String elementAt(int p0) { 
30           return (String) v.elementAt(p0); 
31       } 
32    
33       public boolean equals(String p0) { 
34           return v.equals(p0); 
35       } 
36    
37       public Object clone() { 
38           return v.clone(); 
39       } 
40    
41       public String toString() { 
42           return v.toString(); 
43       } 
44    
45       public int indexOf(String p0, int p1) { 
46           return v.indexOf(p0, p1); 
47       } 
48    
49       public int indexOf(String p0) { 
50           return v.indexOf(p0); 
51       } 
52    
53       public int lastIndexOf(String p0, int p1) { 
54           return v.lastIndexOf(p0, p1); 
55       } 
56    
57       public int lastIndexOf(String p0) { 
58           return v.lastIndexOf(p0); 
59       } 
60    
61       public String get(int p0) { 
62           return (String) v.get(p0); 
63       } 
64    
65       public String set(int p0, String p1) { 
66           return (String) v.set(p0, p1); 
67       } 
68    
69       public void add(int p0, String p1) { 
70           v.add(p0, p1); 
71       } 
72    
73       public boolean add(String p0) { 
74           return v.add(p0); 
75       } 
76    
77       public void addElement(String p0) { 
78           v.addElement(p0); 
79       } 
80    
81       public int size() { 
82           return v.size(); 
83       } 
84    
85       public String[] toArray() { 
86           return (String[]) v.toArray(); 
87       } 
88    
89       public String[] toArray(String[] p0) { 
90           return (String[]) v.toArray(p0); 
91       } 
92    
93       public boolean contains(String p0) { 
94           return v.contains(p0); 
95       } 
96    
97       public void copyInto(String[] p0) { 
98           v.copyInto(p0); 
99       } 
100   
101      public void clear() { 
102          v.clear(); 
103      } 
104   
105      public boolean remove(String p0) { 
106          return v.remove(p0); 
107      } 
108   
109      public String remove(int p0) { 
110          return (String) v.remove(p0); 
111      } 
112   
113      public boolean isEmpty() { 
114          return v.isEmpty(); 
115      } 
116   
117      public java.util.Enumeration elements() { 
118          return v.elements(); 
119      } 
120   
121      public void trimToSize() { 
122          v.trimToSize(); 
123      } 
124   
125      public void ensureCapacity(int p0) { 
126          v.ensureCapacity(p0); 
127      } 
128   
129      public void setSize(int p0) { 
130          v.setSize(p0); 
131      } 
132   
133      public int capacity() { 
134          return v.capacity(); 
135      } 
136   
137      public String firstElement() { 
138          return (String) v.firstElement(); 
139      } 
140   
141      public String lastElement() { 
142          return (String) v.lastElement(); 
143      } 
144   
145      public void setElementAt(String p0, int p1) { 
146          v.setElementAt(p0, p1); 
147      } 
148   
149      public void removeElementAt(int p0) { 
150          v.removeElementAt(p0); 
151      } 
152   
153      public void insertElementAt(String p0, 
154                                  int p1) { 
155          v.insertElementAt(p0, p1); 
156      } 
157   
158      public boolean removeElement(String p0) { 
159          return v.removeElement(p0); 
160      } 
161   
162      public void removeAllElements() { 
163          v.removeAllElements(); 
164      } 
165   
166      public boolean containsAll( 
167              java.util.Collection p0) { 
168          return v.containsAll(p0); 
169      } 
170   
171      public boolean addAll( 
172              java.util.Collection p0) { 
173          return v.addAll(p0); 
174      } 
175   
176      public boolean addAll(int p0, 
177                            java.util.Collection p1) { 
178          return v.addAll(p0, p1); 
179      } 
180   
181      public boolean removeAll( 
182              java.util.Collection p0) { 
183          return v.removeAll(p0); 
184      } 
185   
186      public boolean retainAll( 
187              java.util.Collection p0) { 
188          return v.retainAll(p0); 
189      } 
190   
191      public java.util.List subList(int p0, 
192                                    int p1) { 
193          return v.subList(p0, p1); 
194      } 
195   
196  }