+ (OBArray *) array
Creates and returns an empty array.
+ (OBArray *) arrayWithArray:(OBArray *)array
Creates and returns an array containing the objects of another array.
+ (OBArray *) arrayWithObject:(id)object
Creates and returns an array containing a single object.
+ (OBArray *) arrayWithObjects:(id)object, ...
Creates and returns an array with a nil-terminated list of objects.
+ (OBArray *) arrayWithObjects:(id *)objects count:(ULONG)count
Creates and returns an array from a C array of objects.
- (OBArray *) arrayByAddingObject:object
Returns a new array by adding an object to the receiver.
- (OBArray *) arrayByAddingObjectsFromArray:(OBArray *)array
Returns a new array by adding objects from another array.
- (OBString *) componentsJoinedByString:(OBString *)string
Returns a string created by joining array elements with a separator.
- (BOOL) containsObject:(id)object
Returns whether the array contains the given object.
- (ULONG) count
Returns the number of objects in the array.
- (id) firstObject
Returns the first object in the array.
- (id) firstObjectCommonWithArray:(OBArray *)array
Returns the first object common to both arrays.
- (void) getObjects:( id *)objects
Copies all objects into the provided buffer.
- (void) getObjects:( id *)objects range:(OBRange)range
Copies objects from the specified range into the provided buffer.
- (ULONG) indexOfObject:(id)object
Returns the index of the first occurrence of an object.
- (ULONG) indexOfObject:(id)object inRange:(OBRange)range
Returns the index of an object within the specified range.
- (ULONG) indexOfObjectIdenticalTo:(id)object
Returns the index of the first identical object.
- (ULONG) indexOfObjectIdenticalTo:(id)object inRange:(OBRange)range
Returns the index of an identical object within the specified range.
- (OBArray *) initWithArray:(OBArray *)array
Initializes an array by copying elements from another array.
- (OBArray *) initWithArray:(OBArray *)array copyItems:(BOOL)copyItems
Initializes an array from another array, optionally copying its elements.
- (OBArray *) initWithObjects:(id)object, ...
Initializes an array with a nil-terminated list of objects.
- (OBArray *) initWithObjects:(id *)objects count:(ULONG)count
Initializes an array with objects from a C array.
- (BOOL) isEqualToArray:(OBArray *)array
Compares the receiver to another array for equality.
- (id) lastObject
Returns the last object in the array.
- (void) makeObjectsPerform:(OBPerform *)perform
Sends a perform object to each element in the array.
- (void) makeObjectsPerformSelector:(SEL)selector
Sends a selector to each element in the array.
- (void) makeObjectsPerformSelector:(SEL)selector withObject:object
Sends a selector with an argument to each element in the array.
- (id) objectAtIndex:(ULONG)index
Returns the object at the specified index.
- (id) objectAtIndexedSubscript:(ULONG)index
Returns the object at the specified subscript index.
- (OBEnumerator *) objectEnumerator
Returns an enumerator over the array’s objects.
- (OBEnumerator *) reverseObjectEnumerator
Returns a reverse enumerator over the array’s objects.
- (OBArray *) sortedArrayUsingSelector:(SEL)selector
Returns a sorted array using the given selector.