J
jacov
HI, i have a problem with an ArrayList of data: this is a snippet of my
problem:
//code begin
ArrayList data = new ArrayList;
Vector _v = returnAVector();
for (int j = 0; j < _v.size(); j++) {
data.add(_v.elementAt(j));
}
//code end
Simple....
The problem is that the arrayList contains only the first element
repetead as many times (actually the list size)
Any hint is highly welcome
Thanks
Jacov
problem:
//code begin
ArrayList data = new ArrayList;
Vector _v = returnAVector();
for (int j = 0; j < _v.size(); j++) {
data.add(_v.elementAt(j));
}
//code end
Simple....
The problem is that the arrayList contains only the first element
repetead as many times (actually the list size)
Any hint is highly welcome
Thanks
Jacov