710 {
711
717
754}
static void setObjectAtIndex(Array *self, const ident obj, size_t index)
static Array * arrayWithVaList(va_list args)
static ident find(const Array *self, Predicate predicate, ident data)
static Array * filteredArray(const Array *self, Predicate predicate, ident data)
static ident reduce(const Array *self, Reducer reducer, ident accumulator, ident data)
static Array * arrayWithCapacity(size_t capacity)
static void insertObjectAtIndex(Array *self, ident obj, size_t index)
static void enumerate(const Array *self, ArrayEnumerator enumerator, ident data)
static void map(Array *self, Functor functor, ident data)
static Array * initWithObjects(Array *self,...)
static void removeObject(Array *self, const ident obj)
static Array * sortedArray(const Array *self, Comparator comparator)
static ident lastObject(const Array *self)
static Array * mappedArray(const Array *self, Functor functor, ident data)
static bool containsObject(const Array *self, const ident obj)
static void removeAllObjects(Array *self)
static String * componentsJoinedByString(const Array *self, const String *string)
static Array * arrayWithArray(const Array *array)
static void sort(Array *self, Comparator comparator)
static void addObjects(Array *self, const ident obj,...)
static void removeLastObject(Array *self)
static Array * arrayWithObjects(ident obj,...)
static ident firstObject(const Array *self)
static void removeAllObjectsWithEnumerator(Array *self, ArrayEnumerator enumerator, ident data)
Array * initWithObjects(Array *self,...)
Initializes this Array to contain the Objects in the NULL-terminated arguments list.
Array * arrayWithCapacity(size_t capacity)
Returns a new Array with the given capacity.
String * componentsJoinedByCharacters(const Array *self, const char *chars)
Returns the components of this Array joined by chars.
void insertObjectAtIndex(Array *self, ident obj, size_t index)
Inserts the Object at the specified index.
Array * arrayWithObjects(ident obj,...)
Returns a new Array containing the given Objects.
Array * initWithArray(Array *self, const Array *array)
Initializes this Array to contain the Objects in array.
Array * initWithCapacity(Array *self, size_t capacity)
Initializes this Array with the specified capacity.
Array * initWithVaList(Array *self, va_list args)
Initializes this Array to contain the Objects in the NULL-terminated va_list.
Array * arrayWithVaList(va_list args)
Returns a new Array containing the Objects in the given va_list.
Array * arrayWithArray(const Array *array)
Returns a new Array containing the contents of array.
ident find(const Array *self, Predicate predicate, ident data)
ident objectAtIndex(const Array *self, size_t index)
ident interface
The interface of the Class.
int hash(const Object *self)
void dealloc(Object *self)
Frees all resources held by this Object.