Vector<MenuItem> with TreeSet ?
I hope this is the rigth forum
I want to add to a vector the Objects in a TreeSet to made a menuItem
if was a hashmap like this it works
public Vector<MenuItem> getVehicles()
{
Vector<MenuItem> vector = new Vector<MenuItem>();
vector.addAll(hashMapWithObjects.values());
return vector;
}
and for the TreeSet?
Thanks!!!

