G
Guest
Hi,
I am using the sortedlist class but would like the order of the class to be
reversed. I know i could loop through the sortedlist class backwards using
the index but i would rather have a method on my class which has a private
instance of the sortedlist class and be able to specify the order that the
sortedlist class is sorted by. Is this possibe? I know an alternative is to
use the arraylist class where i can reverse order but this doesn't allow me
to access the objects in the arraylist by a key which the sortedlist class
does?
ANy help would be excellent.
THanks
T
I am using the sortedlist class but would like the order of the class to be
reversed. I know i could loop through the sortedlist class backwards using
the index but i would rather have a method on my class which has a private
instance of the sortedlist class and be able to specify the order that the
sortedlist class is sorted by. Is this possibe? I know an alternative is to
use the arraylist class where i can reverse order but this doesn't allow me
to access the objects in the arraylist by a key which the sortedlist class
does?
ANy help would be excellent.
THanks
T