Next: , Previous: , Up: SortedCollection   [Index]

1.156.8 SortedCollection: searching

includes: anObject

Private - Answer whether the receiver includes an item which is equal to anObject

indexOf: anObject startingAt: index ifAbsent: aBlock

Answer the first index > anIndex which contains anElement. Invoke exceptionBlock and answer its result if no item is found

occurrencesOf: anObject

Answer how many occurrences of anObject can be found in the receiver