SortedList:
Filter:
Classes | Collections > Ordered

SortedList : List : SequenceableCollection : Collection : Object

a Collection whose items are kept in a sorted order.

Class Methods

SortedList.new(size: 8, function)

Creates a SortedList with the initial capacity given by size and a comparison function. The SortedList can contain equal / identical elements more than once.

Inherited class methods

Instance Methods

.add(item)

Adds an item in the SortedList at the correct position.

.addAll(aCollection)

Adds all the items in the collection into the SortedList.

Inherited instance methods

Undocumented instance methods

.copyRange(start, end)

.copySeries(first, second, last)

.function

.function = value

.sort

.sortRange(i, j)