Re: [ROOT] A cuestion about TSortedList

From: Rene Brun (Rene.Brun@cern.ch)
Date: Thu Nov 20 2003 - 11:44:42 MET


Hi Jose,

No, there is no such function. Do:
  list.Remove(object);
  list.Add(object);

Rene Brun

Jose Caballero wrote:
> 
> Hello:
> 
> Suppose I have a TSortedList list, and I add objects into this list. If
> I do it correctly, the list has a sorted! collection of objects.
> Suppose now I change the attributes of one of these objects, so the list
> is now disordered. How can I "re-sort" it?
> The TSortedList::Sort() seems do nothing. Is there a method to "re-sort"
> the list?
> 
> Best regards.
> Jose.



This archive was generated by hypermail 2b29 : Thu Jan 01 2004 - 17:50:16 MET