Re: API Review: Missing UNSORTED Comparator constant in SortedList

2013-06-04 Thread Martin Sladecek
After some discussion in the JIRA issue, the change will be much simpler: null comparator will mean UNSORTED, not natural order (i.e. using Comparable) as it does now. The natural order can be done by passing Comparator.naturalOrder() to the SortedList. -Martin On 05/31/2013 08:25 AM, Martin

API Review: Missing UNSORTED Comparator constant in SortedList

2013-05-30 Thread Martin Sladecek
Hi, while discussing the SortedList, we were talking about how to return to the unsorted state and the proposed solution was to have special SortedList.UNSORTED constant for comparator. Unfortunately, I forgot to include it in the final proposal, so I'm proposing this now. Thanks David Qiao