|
Samond Classes Library 1.2.6-STABLE build 219
|
Indexed collections protocol. More...
#import <SCCollectionProtocols.h>
Inheritance diagram for <SCIndexedCollection>:Querying a Collection | |
| id | firstObject |
| id | lastObject |
| (id) | - objectAtIndex: |
| (id) | - objectAtIndexedSubscript: |
Finding Objects in a Collection | |
| SCIndex | indexOfLastObject |
| (SCIndex) | - indexOfObject: |
Indexed collections protocol.
Declares the mandatory methods for support indexed collections.
| - (SCIndex) indexOfObject: | (id< SCCollectioning >) | object |
Returns the lowest index whose corresponding collection value is equal to a given object.
| object | - desired object |
Reimplemented in SCArray, and SCOrderedSet.
| - (id) objectAtIndex: | (SCIndex) | index |
Returns the object located at the specified index.
| index | - required object index |
| SCCollectionException | - collection error detected |
Reimplemented in SCArray, and SCOrderedSet.
| - (id) objectAtIndexedSubscript: | (SCIndex) | index |
Returns the object at the specified index.
| index | - the index within the bounds of the indexes collection |
| SCCollectionException | - collection error detected |
Reimplemented in SCArray, and SCOrderedSet.
|
readnonatomicassign |
The first object from the receiving collection
|
readnonatomicassign |
An index of the last object within the collection
|
readnonatomicassign |
The last object from the receiving collection
1.8.9.1