Previous: , Up: Collection   [Index]


1.37.15 Collection: testing collections

capacity

Answer how many elements the receiver can hold before having to grow.

identityIncludes: anObject

Answer whether we include the anObject object

includes: anObject

Answer whether we include anObject

includesAllOf: aCollection

Answer whether we include all of the objects in aCollection

includesAnyOf: aCollection

Answer whether we include any of the objects in aCollection

isEmpty

Answer whether we are (still) empty

isSequenceable

Answer whether the receiver can be accessed by a numeric index with #at:/#at:put:.

notEmpty

Answer whether we include at least one object

occurrencesOf: anObject

Answer how many occurrences of anObject we include

size

Answer how many objects we include