PreviousaddAll Up

sortedcollection Method addNoSort

Add an element to a sorted collection without inserting it into the correct sort order. It is generally more efficient if you are adding a number of elements to add without inserting into correct position then ask the collection to resort itself. As soon as you have finished adding elements you should invoke the resort method. Invoking any other methods on the collection without doing the resort has undefined behavior.

See method resort.

Using Parameters
anelement GROUP