Skip to content

DuplicateSortedList

Kal Ahmed edited this page Sep 26, 2016 · 1 revision

Home > Collections > DuplicateSortedList

DuplicateSortedList

The DuplicateSortedList is an implementation of a standard .Net IList<T> which maintains the sort order of the keys and permits duplicates unlike the standard .Net SortedList

Duplicates are not stored directly rather a single example of each distinct item is stored along with the number of times it is present in the list which means it can only be safely used if yielding the same item for duplicates is safe.

Clone this wiki locally