Samond Classes Library 1.1.6-RELEASE build 132

SCArray.h

Go to the documentation of this file.
00001 //
00002 //  SCArray.h
00003 //  scl
00004 //
00005 //  Created by Viacheslav Smolensky on 13.04.12.
00006 //  Copyright (c) 2007 - 2014 by Samond Development Corporation. All rights reserved.
00007 //
00008 
00015 #import <scl/SCCollection.h>
00016 
00017 #define SCArrayClass @"SCArray" ///< SCArray class name
00018 
00029 @interface SCArray : SCCollection {
00030     NSMutableArray *fArray; // Internal array
00031 }
00032 #pragma mark -
00033 #pragma mark Class properties
00034 #if (__MAC_OS_X_VERSION_MIN_REQUIRED > 1040) || IOS_TARGET
00035 // Array name property
00036 @property (retain, getter=arrayName, setter=setArrayName:) NSString *arrayName;
00037 #endif
00038 
00039 #pragma mark -
00040 #pragma mark Creating Array
00041 
00047 + (SCArray *)arrayWithDataDictionary:(NSDictionary *)dictionary;
00048 
00054 + (SCArray *)arrayWithDataDictionaryFromFile:(NSString *)path;
00055 
00061 + (SCArray *)arrayWithCoder:(NSCoder *)coder;
00062 
00068 + (SCArray *)arrayWithContentsOfSerializedFile:(NSString *)path;
00069 
00077 + (SCArray *)arrayWithStream:(SCStream *)stream;
00078 
00085 + (SCArray *)arrayWithFileStream:(NSString *)path;
00086 
00091 + (SCArray *)array;
00092 
00099 + (SCArray *)arrayWithArrayName:(NSString *)name capacity:(SCULong)capacity;
00100 
00106 + (SCArray *)arrayWithArrayName:(NSString *)name;
00107 
00113 + (SCArray *)arrayWithCapacity:(SCULong)capacity;
00114 
00120 + (SCArray *)arrayWithDelegate:(id<SCCollectionDelegate>)delegate;
00121 
00129 + (SCArray *)arrayWithDelegate:(id<SCCollectionDelegate>)delegate collection:(id)collection;
00130 
00136 + (SCArray *)arrayWithCollection:(id)collection;
00137 
00145 + (SCArray *)arrayWithDelegate:(id<SCCollectionDelegate>)delegate object:(id)object;
00146 
00153 + (SCArray *)arrayWithObject:(id)object;
00154 
00164 + (SCArray *)arrayWithDelegate:(id<SCCollectionDelegate>)delegate objects:(id)object, ...;
00165 
00173 + (SCArray *)arrayWithObjects:(id)object, ...;
00174 
00181 + (SCArray *)arrayWithArray:(SCArray *)array;
00182 
00191 + (SCArray *)arrayWithAscendingSortedCollection:(id)collection
00192                                                                         usingMethod:(id<SCSortingProtocol>)method;
00193 
00202 + (SCArray *)arrayWithDescendingSortedCollection:(id)collection
00203                                                                          usingMethod:(id<SCSortingProtocol>)method;
00204 
00213 + (SCArray *)arrayWithSortedCollection:(id)collection usingMethod:(id<SCSortingProtocol>)method;
00214 
00221 + (SCArray *)arrayWithAscendingSortedCollection:(id)collection;
00222 
00229 + (SCArray *)arrayWithDescendingSortedCollection:(id)collection;
00230 
00237 + (SCArray *)arrayWithSortedCollection:(id)collection;
00238 
00239 #pragma mark -
00240 #pragma mark Initializing Array
00241 
00246 - (id)init;
00247 
00254 - (id)initWithArrayName:(NSString *)name capacity:(SCULong)capacity;
00255 
00261 - (id)initWithArrayName:(NSString *)name;
00262 
00268 - (id)initWithCapacity:(SCULong)capacity;
00269 
00275 - (id)initWithDelegate:(id<SCCollectionDelegate>)delegate;
00276 
00284 - (id)initWithDelegate:(id<SCCollectionDelegate>)delegate collection:(id)collection;
00285 
00292 - (id)initWithCollection:(id)collection;
00293 
00301 - (id)initWithDelegate:(id<SCCollectionDelegate>)delegate object:(id)object;
00302 
00309 - (id)initWithObject:(id)object;
00310 
00320 - (id)initWithDelegate:(id<SCCollectionDelegate>)delegate objects:(id)object, ...;
00321 
00329 - (id)initWithObjects:(id)object, ...;
00330 
00337 - (id)initWithArray:(SCArray *)array;
00338 
00347 - (id)initWithAscendingSortedCollection:(id)collection usingMethod:(id<SCSortingProtocol>)method;
00348 
00357 - (id)initWithDescendingSortedCollection:(id)collection usingMethod:(id<SCSortingProtocol>)method;
00358 
00367 - (id)initWithSortedCollection:(id)collection usingMethod:(id<SCSortingProtocol>)method;
00368 
00375 - (id)initWithAscendingSortedCollection:(id)collection;
00376 
00383 - (id)initWithDescendingSortedCollection:(id)collection;
00384 
00391 - (id)initWithSortedCollection:(id)collection;
00392 
00393 #pragma mark -
00394 #pragma mark Querying and Setting Array Properties
00395 
00400 - (NSString *)arrayName;
00401 
00406 - (void)setArrayName:(NSString *)name;
00407 
00408 #pragma mark -
00409 #pragma mark Setting and Copying Arrays
00410 
00418 - (void)copySortedAscendingFromCollection:(id)collection usingMethod:(id<SCSortingProtocol>)method;
00419 
00427 - (void)copySortedDescendingFromCollection:(id)collection usingMethod:(id<SCSortingProtocol>)method;
00428 
00436 - (void)copySortedFromCollection:(id)collection usingMethod:(id<SCSortingProtocol>)method;
00437 
00444 - (void)copySortedAscendingFromCollection:(id)collection;
00445 
00452 - (void)copySortedDescendingFromCollection:(id)collection;
00453 
00460 - (void)copySortedFromCollection:(id)collection;
00461 
00462 #pragma mark -
00463 #pragma mark Querying Array
00464 
00470 - (id)firstObject;
00471 
00477 - (NSString *)firstString;
00478 
00484 - (NSNumber *)firstNumber;
00485 
00491 - (SCByte)firstByte;
00492 
00498 - (SCUByte)firstUByte;
00499 
00505 - (SCShort)firstShort;
00506 
00512 - (SCUShort)firstUShort;
00513 
00519 - (SCInteger)firstInteger;
00520 
00526 - (SCUInteger)firstUInteger;
00527 
00533 - (SCLong)firstLong;
00534 
00540 - (SCULong)firstULong;
00541 
00547 - (char)firstChar;
00548 
00554 - (unichar)firstUnichar;
00555 
00561 - (const char *)firstCharString;
00562 
00568 - (BOOL)firstBool;
00569 
00575 - (SCFloat)firstFloat;
00576 
00582 - (SCDouble)firstDouble;
00583 
00589 - (id)lastObject;
00590 
00596 - (NSString *)lastString;
00597 
00603 - (NSNumber *)lastNumber;
00604 
00610 - (SCByte)lastByte;
00611 
00617 - (SCUByte)lastUByte;
00618 
00624 - (SCShort)lastShort;
00625 
00631 - (SCUShort)lastUShort;
00632 
00638 - (SCInteger)lastInteger;
00639 
00645 - (SCUInteger)lastUInteger;
00646 
00652 - (SCLong)lastLong;
00653 
00659 - (SCULong)lastULong;
00660 
00666 - (char)lastChar;
00667 
00673 - (unichar)lastUnichar;
00674 
00680 - (const char *)lastCharString;
00681 
00687 - (BOOL)lastBool;
00688 
00694 - (SCFloat)lastFloat;
00695 
00701 - (SCDouble)lastDouble;
00702 
00709 - (id)objectAtIndex:(SCIndex)index;
00710 
00717 - (NSString *)stringAtIndex:(SCIndex)index;
00718 
00725 - (NSNumber *)numberAtIndex:(SCIndex)index;
00726 
00733 - (SCByte)byteAtIndex:(SCIndex)index;
00734 
00741 - (SCUByte)uByteAtIndex:(SCIndex)index;
00742 
00749 - (SCShort)shortAtIndex:(SCIndex)index;
00750 
00757 - (SCUShort)uShortAtIndex:(SCIndex)index;
00758 
00765 - (SCInteger)integerAtIndex:(SCIndex)index;
00766 
00773 - (SCUInteger)uIntegerAtIndex:(SCIndex)index;
00774 
00781 - (SCLong)longAtIndex:(SCIndex)index;
00782 
00789 - (SCULong)uLongAtIndex:(SCIndex)index;
00790 
00797 - (char)charAtIndex:(SCIndex)index;
00798 
00805 - (unichar)unicharAtIndex:(SCIndex)index;
00806 
00813 - (const char *)charStringAtIndex:(SCIndex)index;
00814 
00821 - (BOOL)boolAtIndex:(SCIndex)index;
00822 
00829 - (SCFloat)floatAtIndex:(SCIndex)index;
00830 
00837 - (SCDouble)doubleAtIndex:(SCIndex)index;
00838 
00845 - (SCArray *)objectsAtIndexes:(NSIndexSet *)indexes;
00846 
00853 - (SCArray *)objectsInRange:(NSRange)range;
00854 
00861 - (SCArray *)objectsFromIndex:(SCIndex)index;
00862 
00869 - (SCArray *)objectsToIndex:(SCIndex)index;
00870 
00871 #pragma mark -
00872 #pragma mark Find Objects in Array
00873 
00880 - (SCIndex)indexOfObject:(id)object;
00881 
00889 - (SCIndex)indexOfByte:(SCByte)byte;
00890 
00898 - (SCIndex)indexOfUByte:(SCUByte)byte;
00899 
00907 - (SCIndex)indexOfShort:(SCShort)shortint;
00908 
00916 - (SCIndex)indexOfUShort:(SCUShort)shortint;
00917 
00925 - (SCIndex)indexOfInteger:(SCInteger)integer;
00926 
00934 - (SCIndex)indexOfUInteger:(SCUInteger)integer;
00935 
00943 - (SCIndex)indexOfLong:(SCLong)longint;
00944 
00952 - (SCIndex)indexOfULong:(SCULong)longint;
00953 
00960 - (SCIndex)indexOfChar:(char)chr;
00961 
00968 - (SCIndex)indexOfUnichar:(unichar)chr;
00969 
00976 - (SCIndex)indexOfCharString:(const char *)string;
00977 
00984 - (SCIndex)indexOfBool:(BOOL)boolean;
00985 
00993 - (SCIndex)indexOfFloat:(SCFloat)flt;
00994 
01002 - (SCIndex)indexOfDouble:(SCDouble)dbl;
01003 
01012 - (SCIndex)indexOfObject:(id)object atIndexes:(NSIndexSet *)indexes;
01013 
01022 - (SCIndex)indexOfByte:(SCByte)byte atIndexes:(NSIndexSet *)indexes;
01023 
01032 - (SCIndex)indexOfUByte:(SCUByte)byte atIndexes:(NSIndexSet *)indexes;
01033 
01042 - (SCIndex)indexOfShort:(SCShort)shortint atIndexes:(NSIndexSet *)indexes;
01043 
01052 - (SCIndex)indexOfUShort:(SCUShort)shortint atIndexes:(NSIndexSet *)indexes;
01053 
01062 - (SCIndex)indexOfInteger:(SCInteger)integer atIndexes:(NSIndexSet *)indexes;
01063 
01072 - (SCIndex)indexOfUInteger:(SCUInteger)integer atIndexes:(NSIndexSet *)indexes;
01073 
01082 - (SCIndex)indexOfLong:(SCLong)longint atIndexes:(NSIndexSet *)indexes;
01083 
01092 - (SCIndex)indexOfULong:(SCULong)longint atIndexes:(NSIndexSet *)indexes;
01093 
01102 - (SCIndex)indexOfChar:(char)chr atIndexes:(NSIndexSet *)indexes;
01103 
01112 - (SCIndex)indexOfUnichar:(unichar)chr atIndexes:(NSIndexSet *)indexes;
01113 
01122 - (SCIndex)indexOfCharString:(const char *)string atIndexes:(NSIndexSet *)indexes;
01123 
01132 - (SCIndex)indexOfBool:(BOOL)boolean atIndexes:(NSIndexSet *)indexes;
01133 
01142 - (SCIndex)indexOfFloat:(SCFloat)flt atIndexes:(NSIndexSet *)indexes;
01143 
01152 - (SCIndex)indexOfDouble:(SCDouble)dbl atIndexes:(NSIndexSet *)indexes;
01153 
01162 - (SCIndex)indexOfObject:(id)object inRange:(NSRange)range;
01163 
01172 - (SCIndex)indexOfByte:(SCByte)byte inRange:(NSRange)range;
01173 
01182 - (SCIndex)indexOfUByte:(SCUByte)byte inRange:(NSRange)range;
01183 
01192 - (SCIndex)indexOfShort:(SCShort)shortint inRange:(NSRange)range;
01193 
01202 - (SCIndex)indexOfUShort:(SCUShort)shortint inRange:(NSRange)range;
01203 
01212 - (SCIndex)indexOfInteger:(SCInteger)integer inRange:(NSRange)range;
01213 
01222 - (SCIndex)indexOfUInteger:(SCUInteger)integer inRange:(NSRange)range;
01223 
01232 - (SCIndex)indexOfLong:(SCLong)longint inRange:(NSRange)range;
01233 
01242 - (SCIndex)indexOfULong:(SCULong)longint inRange:(NSRange)range;
01243 
01252 - (SCIndex)indexOfChar:(char)chr inRange:(NSRange)range;
01253 
01262 - (SCIndex)indexOfUnichar:(unichar)chr inRange:(NSRange)range;
01263 
01272 - (SCIndex)indexOfCharString:(const char *)string inRange:(NSRange)range;
01273 
01282 - (SCIndex)indexOfBool:(BOOL)boolean inRange:(NSRange)range;
01283 
01292 - (SCIndex)indexOfFloat:(SCFloat)flt inRange:(NSRange)range;
01293 
01302 - (SCIndex)indexOfDouble:(SCDouble)dbl inRange:(NSRange)range;
01303 
01312 - (SCIndex)indexOfObject:(id)object fromIndex:(SCIndex)index;
01313 
01322 - (SCIndex)indexOfByte:(SCByte)byte fromIndex:(SCIndex)index;
01323 
01332 - (SCIndex)indexOfUByte:(SCUByte)byte fromIndex:(SCIndex)index;
01333 
01342 - (SCIndex)indexOfShort:(SCShort)shortint fromIndex:(SCIndex)index;
01343 
01352 - (SCIndex)indexOfUShort:(SCUShort)shortint fromIndex:(SCIndex)index;
01353 
01362 - (SCIndex)indexOfInteger:(SCInteger)integer fromIndex:(SCIndex)index;
01363 
01372 - (SCIndex)indexOfUInteger:(SCUInteger)integer fromIndex:(SCIndex)index;
01373 
01382 - (SCIndex)indexOfLong:(SCLong)longint fromIndex:(SCIndex)index;
01383 
01392 - (SCIndex)indexOfULong:(SCULong)longint fromIndex:(SCIndex)index;
01393 
01402 - (SCIndex)indexOfChar:(char)chr fromIndex:(SCIndex)index;
01403 
01412 - (SCIndex)indexOfUnichar:(unichar)chr fromIndex:(SCIndex)index;
01413 
01422 - (SCIndex)indexOfCharString:(const char *)string fromIndex:(SCIndex)index;
01423 
01432 - (SCIndex)indexOfBool:(BOOL)boolean fromIndex:(SCIndex)index;
01433 
01442 - (SCIndex)indexOfFloat:(SCFloat)flt fromIndex:(SCIndex)index;
01443 
01452 - (SCIndex)indexOfDouble:(SCDouble)dbl fromIndex:(SCIndex)index;
01453 
01462 - (SCIndex)indexOfObject:(id)object toIndex:(SCIndex)index;
01463 
01472 - (SCIndex)indexOfByte:(SCByte)byte toIndex:(SCIndex)index;
01473 
01482 - (SCIndex)indexOfUByte:(SCUByte)byte toIndex:(SCIndex)index;
01483 
01492 - (SCIndex)indexOfShort:(SCShort)shortint toIndex:(SCIndex)index;
01493 
01502 - (SCIndex)indexOfUShort:(SCUShort)shortint toIndex:(SCIndex)index;
01503 
01512 - (SCIndex)indexOfInteger:(SCInteger)integer toIndex:(SCIndex)index;
01513 
01522 - (SCIndex)indexOfUInteger:(SCUInteger)integer toIndex:(SCIndex)index;
01523 
01532 - (SCIndex)indexOfLong:(SCLong)longint toIndex:(SCIndex)index;
01533 
01542 - (SCIndex)indexOfULong:(SCULong)longint toIndex:(SCIndex)index;
01543 
01552 - (SCIndex)indexOfChar:(char)chr toIndex:(SCIndex)index;
01553 
01562 - (SCIndex)indexOfUnichar:(unichar)chr toIndex:(SCIndex)index;
01563 
01572 - (SCIndex)indexOfCharString:(const char *)string toIndex:(SCIndex)index;
01573 
01582 - (SCIndex)indexOfBool:(BOOL)boolean toIndex:(SCIndex)index;
01583 
01592 - (SCIndex)indexOfFloat:(SCFloat)flt toIndex:(SCIndex)index;
01593 
01602 - (SCIndex)indexOfDouble:(SCDouble)dbl toIndex:(SCIndex)index;
01603 
01608 - (SCIndex)indexOfLastObject;
01609 
01610 #pragma mark -
01611 #pragma mark Sorting Array
01612 
01618 - (void)sortingArrayAscendingWithMethod:(id<SCSortingProtocol>)method;
01619 
01625 - (void)sortingArrayDescendingWithMethod:(id<SCSortingProtocol>)method;
01626 
01632 - (void)sortingArrayWithMethod:(id<SCSortingProtocol>)method;
01633 
01638 - (void)sortingArrayAscending;
01639 
01644 - (void)sortingArrayDescending;
01645 
01650 - (void)sortingArray;
01651 
01659 - (SCArray *)sortedArrayAscendingWithMethod:(id<SCSortingProtocol>)method;
01660 
01668 - (SCArray *)sortedArrayDescendingWithMethod:(id<SCSortingProtocol>)method;
01669 
01677 - (SCArray *)sortedArrayWithMethod:(id<SCSortingProtocol>)method;
01678 
01685 - (SCArray *)sortedArrayAscending;
01686 
01693 - (SCArray *)sortedArrayDescending;
01694 
01701 - (SCArray *)sortedArray;
01702 
01703 #pragma mark -
01704 #pragma mark Adding Objects
01705 
01712 - (void)insertObject:(id)object atIndex:(SCIndex)index;
01713 
01720 - (void)insertByte:(SCByte)byte atIndex:(SCIndex)index;
01721 
01728 - (void)insertUByte:(SCUByte)byte atIndex:(SCIndex)index;
01729 
01736 - (void)insertShort:(SCShort)shortint atIndex:(SCIndex)index;
01737 
01744 - (void)insertUShort:(SCUShort)shortint atIndex:(SCIndex)index;
01745 
01752 - (void)insertInteger:(SCInteger)integer atIndex:(SCIndex)index;
01753 
01760 - (void)insertUInteger:(SCUInteger)integer atIndex:(SCIndex)index;
01761 
01768 - (void)insertLong:(SCLong)longint atIndex:(SCIndex)index;
01769 
01776 - (void)insertULong:(SCULong)longint atIndex:(SCIndex)index;
01777 
01784 - (void)insertChar:(char)chr atIndex:(SCIndex)index;
01785 
01792 - (void)insertUnichar:(unichar)chr atIndex:(SCIndex)index;
01793 
01800 - (void)insertCharString:(const char *)string atIndex:(SCIndex)index;
01801 
01808 - (void)insertBool:(BOOL)boolean atIndex:(SCIndex)index;
01809 
01816 - (void)insertFloat:(SCFloat)flt atIndex:(SCIndex)index;
01817 
01824 - (void)insertDouble:(SCDouble)dbl atIndex:(SCIndex)index;
01825 
01833 - (void)insertAtIndex:(SCIndex)index objects:(id)object, ...;
01834 
01841 - (void)insertObjectsFromCollection:(id)collection atIndex:(SCIndex)index;
01842 
01851 - (void)insertAtIndexes:(NSIndexSet *)indexes objects:(id)object, ...;
01852 
01859 - (void)insertObjectsFromCollection:(id)collection atIndexes:(NSIndexSet *)indexes;
01860 
01861 #pragma mark -
01862 #pragma mark Removing Objects
01863 
01868 - (void)removeFirstObject;
01869 
01874 - (void)removeLastObject;
01875 
01881 - (void)removeObjectAtIndex:(SCIndex)index;
01882 
01888 - (void)removeObjectsAtIndexes:(NSIndexSet *)indexes;
01889 
01895 - (void)removeObjectsInRange:(NSRange)range;
01896 
01902 - (void)removeObjectsFromIndex:(SCIndex)index;
01903 
01909 - (void)removeObjectsToIndex:(SCIndex)index;
01910 
01916 - (void)removeObjectsEqualTo:(id)object;
01917 
01925 - (void)removeObjectsEqualTo:(id)object atIndexes:(NSIndexSet *)indexes;
01926 
01934 - (void)removeObjectsEqualTo:(id)object inRange:(NSRange)range;
01935 
01943 - (void)removeObjectsEqualTo:(id)object fromIndex:(SCIndex)index;
01944 
01952 - (void)removeObjectsEqualTo:(id)object toIndex:(SCIndex)index;
01953 
01959 - (void)removeObjectsInCollection:(id)collection;
01960 
01966 - (void)removeObject:(id)object;
01967 
01973 - (void)removeByte:(SCByte)byte;
01974 
01980 - (void)removeUByte:(SCUByte)byte;
01981 
01987 - (void)removeShort:(SCShort)shortint;
01988 
01994 - (void)removeUShort:(SCUShort)shortint;
01995 
02001 - (void)removeInteger:(SCInteger)integer;
02002 
02008 - (void)removeUInteger:(SCUInteger)integer;
02009 
02015 - (void)removeLong:(SCLong)longint;
02016 
02022 - (void)removeULong:(SCULong)longint;
02023 
02029 - (void)removeChar:(char)chr;
02030 
02036 - (void)removeUnichar:(unichar)chr;
02037 
02043 - (void)removeCharString:(const char *)string;
02044 
02050 - (void)removeBool:(BOOL)boolean;
02051 
02057 - (void)removeFloat:(SCFloat)flt;
02058 
02064 - (void)removeDouble:(SCDouble)dbl;
02065 
02072 - (void)removeObject:(id)object atIndexes:(NSIndexSet *)indexes;
02073 
02080 - (void)removeObject:(id)object inRange:(NSRange)range;
02081 
02088 - (void)removeObject:(id)object fromIndex:(SCIndex)index;
02089 
02096 - (void)removeObject:(id)object toIndex:(SCIndex)index;
02097 
02104 - (void)removeObjects:(id)object, ...;
02105 
02106 #pragma mark -
02107 #pragma mark Replacing Objects
02108 
02115 - (void)replaceObjectAtIndex:(SCIndex)index withObject:(id)object;
02116 
02123 - (void)replaceObjectAtIndex:(SCIndex)index withByte:(SCByte)byte;
02124 
02131 - (void)replaceObjectAtIndex:(SCIndex)index withUByte:(SCUByte)byte;
02132 
02139 - (void)replaceObjectAtIndex:(SCIndex)index withShort:(SCShort)sht;
02140 
02147 - (void)replaceObjectAtIndex:(SCIndex)index withUShort:(SCUShort)sht;
02148 
02155 - (void)replaceObjectAtIndex:(SCIndex)index withInteger:(SCInteger)integer;
02156 
02163 - (void)replaceObjectAtIndex:(SCIndex)index withUInteger:(SCUInteger)integer;
02164 
02171 - (void)replaceObjectAtIndex:(SCIndex)index withLong:(SCLong)longint;
02172 
02179 - (void)replaceObjectAtIndex:(SCIndex)index withULong:(SCULong)longint;
02180 
02187 - (void)replaceObjectAtIndex:(SCIndex)index withChar:(char)chr;
02188 
02195 - (void)replaceObjectAtIndex:(SCIndex)index withUnichar:(unichar)chr;
02196 
02203 - (void)replaceObjectAtIndex:(SCIndex)index withCharString:(const char *)string;
02204 
02211 - (void)replaceObjectAtIndex:(SCIndex)index withBool:(BOOL)boolean;
02212 
02219 - (void)replaceObjectAtIndex:(SCIndex)index withFloat:(SCFloat)flt;
02220 
02227 - (void)replaceObjectAtIndex:(SCIndex)index withDouble:(SCDouble)dbl;
02228 
02237 - (void)replaceObjectsAtIndexes:(NSIndexSet *)indexes withObjects:(id)object, ...;
02238 
02246 - (void)replaceObjectsAtIndexes:(NSIndexSet *)indexes withObjectsFromCollection:(id)collection;
02247 
02256 - (void)replaceObjectsInRange:(NSRange)range withObjects:(id)object, ...;
02257 
02265 - (void)replaceObjectsInRange:(NSRange)range withObjectsFromCollection:(id)collection;
02266 
02275 - (void)replaceObjectsFromIndex:(SCIndex)index withObjects:(id)object, ...;
02276 
02283 - (void)replaceObjectsFromIndex:(SCIndex)index withObjectsFromCollection:(id)collection;
02284 
02293 - (void)replaceObjectsToIndex:(SCIndex)index withObjects:(id)object, ...;
02294 
02301 - (void)replaceObjectsToIndex:(SCIndex)index withObjectsFromCollection:(id)collection;
02302 
02303 #pragma mark -
02304 #pragma mark Moving and Copying Objects
02305 
02312 - (void)exchangeObjectAtIndex:(SCIndex)index withObjectAtIndex:(SCIndex)destination;
02313 
02319 - (void)duplicateObjectAtIndex:(SCIndex)index;
02320 
02326 - (void)duplicateObjectsInRange:(NSRange)range;
02327 
02333 - (void)duplicateObjectsFromIndex:(SCIndex)index;
02334 
02340 - (void)duplicateObjectsToIndex:(SCIndex)index;
02341 
02346 - (void)duplicateAllObjects;
02347 
02352 - (void)duplicate;
02353 
02360 - (void)copyObjectAtIndex:(SCIndex)index toIndex:(SCIndex)destination;
02361 
02368 - (void)copyObjectsInRange:(NSRange)range toIndex:(SCIndex)destination;
02369 
02376 - (void)copyObjectsFromIndex:(SCIndex)index toIndex:(SCIndex)destination;
02377 
02384 - (void)copyObjectsToIndex:(SCIndex)index toIndex:(SCIndex)destination;
02385 
02392 - (void)moveObjectAtIndex:(SCIndex)index toIndex:(SCIndex)destination;
02393 
02400 - (void)moveObjectsInRange:(NSRange)range toIndex:(SCIndex)destination;
02401 
02408 - (void)moveObjectsFromIndex:(SCIndex)index toIndex:(SCIndex)destination;
02409 
02416 - (void)moveObjectsToIndex:(SCIndex)index toIndex:(SCIndex)destination;
02417 
02424 - (void)forwardMoveObjectAtIndex:(SCIndex)index steps:(SCULong)steps;
02425 
02432 - (void)forwardMoveObjectsInRange:(NSRange)range steps:(SCULong)steps;
02433 
02440 - (void)forwardMoveObjectsFromIndex:(SCIndex)index steps:(SCULong)steps;
02441 
02447 - (void)forwardMoveObjectAtIndex:(SCIndex)index;
02448 
02454 - (void)forwardMoveObjectsInRange:(NSRange)range;
02455 
02461 - (void)forwardMoveObjectsFromIndex:(SCIndex)index;
02462 
02469 - (void)backwardMoveObjectAtIndex:(SCIndex)index steps:(SCULong)steps;
02470 
02478 - (void)backwardMoveObjectsInRange:(NSRange)range steps:(SCULong)steps;
02479 
02487 - (void)backwardMoveObjectsToIndex:(SCIndex)index steps:(SCULong)steps;
02488 
02494 - (void)backwardMoveObjectAtIndex:(SCIndex)index;
02495 
02501 - (void)backwardMoveObjectsInRange:(NSRange)range;
02502 
02508 - (void)backwardMoveObjectsToIndex:(SCIndex)index;
02509 
02515 - (void)moveToFirstPositionObjectAtIndex:(SCIndex)index;
02516 
02522 - (void)moveToFirstPositionObjectsInRange:(NSRange)range;
02523 
02529 - (void)moveToFirstPositionObjectsFromIndex:(SCIndex)index;
02530 
02536 - (void)moveToLastPositionObjectAtIndex:(SCIndex)index;
02537 
02543 - (void)moveToLastPositionObjectsInRange:(NSRange)range;
02544 
02550 - (void)moveToLastPositionObjectsToIndex:(SCIndex)index;
02551 
02556 - (void)reverse;
02557 
02562 - (SCArray *)reversedArray;
02563 
02564 @end
 All Classes Files Functions Typedefs Enumerations Enumerator Defines