Hi,
I am using this class for the first time and I am confused as I thought that SortedSet will sort the content of ts but it doesn't?
If I print out ts or orderComplete the content will be in the same order. Any advice available?
TreeSet ts = new TreeSet ();
ts.add (roundPercentage.format(pc));
SortedSet orderComplete = ts;
Thank you
I am using this class for the first time and I am confused as I thought that SortedSet will sort the content of ts but it doesn't?
If I print out ts or orderComplete the content will be in the same order. Any advice available?
TreeSet ts = new TreeSet ();
ts.add (roundPercentage.format(pc));
SortedSet orderComplete = ts;
Thank you