Samond Classes Library 1.2.4-RELEASE build 198
|
Indexed collections protocol. More...
#import <SCCollectionProtocols.h>
Querying a Collection | |
id | firstObject |
id | lastObject |
(id) | - objectAtIndex: |
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.
|
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