Vectors.
Definition at line 51 of file Vector.h.
|
| Class * | _Vector (void) |
| | The Vector archetype. More...
|
| |
| void | addElement (Vector *self, const ident element) |
| | Adds the specified element to this Vector. More...
|
| |
| void | enumerateElements (const Vector *self, VectorEnumerator enumerator, ident data) |
| | Enumerates the elements of this Vector with the given function. More...
|
| |
| void | enumerateObjects (const Vector *self, VectorEnumerator enumerator, ident data) |
| |
| void | filterElements (const Vector *self, Predicate predicate, ident data) |
| | Filters the elements of this Vector with the given Predicate. More...
|
| |
| void | filterElements (Vector *self, Predicate predicate, ident data) |
| |
| ident | findElement (const Vector *self, Predicate predicate, ident data) |
| |
| ssize_t | indexOfElement (const Vector *self, const ident element) |
| |
| Vector * | initWithElements (Vector *self, size_t size, size_t count, ident elements) |
| | Initializes this Vector with the specified elements. More...
|
| |
| Vector * | initWithSize (Vector *self, size_t size) |
| | Initializes this Vector with the specified element size. More...
|
| |
| void | insertElementAtIndex (Vector *self, const ident element, size_t index) |
| | Inserts the element at the specified index. More...
|
| |
| ident | reduce (const Vector *self, Reducer reducer, ident accumulator, ident data) |
| |
| void | removeAllElements (Vector *self) |
| | Removes all elements from this Vector without modifying its capacity. More...
|
| |
| void | removeElementAtIndex (Vector *self, size_t index) |
| | Removes the element at the specified index. More...
|
| |
| void | resize (Vector *self, size_t capacity) |
| | Resizes this Vector to the specified capacity. More...
|
| |
| void | sort (Vector *self, Comparator comparator) |
| | Sorts this Vector in place using comparator. More...
|
| |
| Vector * | vectorWithElements (size_t size, size_t count, ident elements) |
| | Creates a new Vector with the specified elements. More...
|
| |
| Vector * | vectorWithSize (size_t size) |
| | Creates a new Vector with the specified element size. More...
|
| |
| Class * | _Object (void) |
| | The Object archetype. More...
|
| |
| Object * | copy (const Object *self) |
| | Creates a shallow copy of this Object. More...
|
| |
| void | dealloc (Object *self) |
| | Frees all resources held by this Object. More...
|
| |
| String * | description (const Object *self) |
| |
| int | hash (const Object *self) |
| |
| Object * | init (Object *self) |
| | Initializes this Object. More...
|
| |
| _Bool | isEqual (const Object *self, const Object *other) |
| | Tests equality of the other Object. More...
|
| |
| _Bool | isKindOfClass (const Object *self, const Class *clazz) |
| | Tests for Class hierarchy membership. More...
|
| |