SortedList
Creates a new SortedList of type T.
Parameters
klass
The class of the contents of the SortedList.
callback
The callback that controls the behavior of SortedList.
constructor(@NonNull klass: Class<T>, @NonNull callback: SortedList.Callback<T>, initialCapacity: Int)(source)
Creates a new SortedList of type T.
Parameters
klass
The class of the contents of the SortedList.
callback
The callback that controls the behavior of SortedList.
initialCapacity
The initial capacity to hold items.