B
B-rad the Beat Nick
I found some prior threads on this group regarding SortedLists, but
they were all published around 2003 or before.
What is the best practices way to implement a SortedList with Java 1.5?
I saw the technique using Collections.binarySearch() method to identify
the insertion point. In terms of speed, is that faster than simply
calling Collections.sort() on every add()? I did a fair amount of
googling and searching of this group without finding any RECENT
discussions (since 1.5) regarding this subject.
Thanks,
B
they were all published around 2003 or before.
What is the best practices way to implement a SortedList with Java 1.5?
I saw the technique using Collections.binarySearch() method to identify
the insertion point. In terms of speed, is that faster than simply
calling Collections.sort() on every add()? I did a fair amount of
googling and searching of this group without finding any RECENT
discussions (since 1.5) regarding this subject.
Thanks,
B