Hello.
Is it ok to use Collections.sort() on a List returned by a to-many
relations? Or should I create a new List with the elements from the
List returned from the relationship?
List cars = company.getCars();
Collections.sort(cars);
or
List cars = new Vector(company.getCars());
Collections.sort(cars);
Or perhaps it does not matter at all?
- Tore.
This archive was generated by hypermail 2.0.0 : Wed Feb 18 2004 - 16:24:14 EST