PreviousSignedCobolComp5 Up
Base Class Library


An SortedCollection provides indexed storage of elements. Elements are stored in an order determined by a sort method. By default, elements are stored in ascending order, although you can provide your own sort method by sending the collection the "setSortMethod". A SortedCollection provides the same methods for accessing elements as an OrderedCollection. A SortedCollection expands to accommodate new elements if you add more than the initially specified size.

Class-Control Entry

Include this entry in the Class-Control paragraph of any program using this class.

sortedcollection is class "srtdclln"



buttonClass Methods

Instance Methods

The list includes methods inherited from superclasses up to, but not including, Collection. For other inherited methods, click the button below:


add Using anelement
addAll Using acollection
addNoSort Using anelement
after Using anelement
Returning anelement2
at Using anindex
Returning anelement2
atAllPut Using anelement
atNoGC Using anindex
Returning anelement2
atPut Using anindex anelement
before Using anelement
Returning anelement2
capacity Returning lnksize
collect Using amessage
Returning anewcollection
concat Using acollection
Returning anewcollection
copyFromTo Using fromindex toindex
Returning anewcollection
copyReplace Using fromindex toindex acollection
Returning anewcollection
copyReplaceAll Using acollection acollection2
Returning anewcollection
copyWith Using anelement
Returning anewcollection
copyWithOut Using anelement
Returning anewcollection
deepCopy Returning anewcollection
do Using amessage
doWithOutCopy Using amessage
equal Using acollection
Returning lnkbool
finalize Returning lnkObject
findFirst Using amessage
Returning anindex
findLast Using amessage
Returning anindex
first Returning anelement
firstIndexOf Using anelement fromindex toindex
Returning anindex
firstIndexOfIdentity Using anelement fromindex toindex
Returning anindex
growTo Using requiredSize
Returning defaultreturn
indexOfSubCollection Using acollection anindex
Returning anindex2
insertAllAfter Using anindex acollection
Returning anewcollection
isat Using anelement anindex
Returning lnkbool
isatIdentity Using anelement anindex
Returning lnkbool
keysAndDatado Using amessage
last Returning anelement
lastIndexOf Using anelement fromindex toindex
Returning anindex
occurrencesOf Using anelement
Returning anumber
reject Using amessage
Returning anewcollection
remove Using anelement
removeAllSuchThat Using amessage
removeAtIndex Using anindex
Returning anElement
removeFirst Using anumber
removeFirstandFinalize Using anumber
removeLast Using anumber
removeLastandFinalize Using anumber
replaceAll Using anelement anelement2 fromindex toindex
replaceSubCollection Using fromindex toindex acollection fromSource
reverse Returning anewcollection
reverseDo Using amessage
select Using amessage
Returning anewcollection
setSortEntry Using lnkselector
setSortMethod Using lnkreceiver lnkselector
size Returning lnksize
species Returning lnkclass
withDo Using acollection amessage