632 {
633
639
663}
static Set * mappedSet(const Set *self, Functor functor, ident data)
static Set * filteredSet(const Set *self, Predicate predicate, ident data)
static bool isEqual(const Object *self, const Object *other)
static Set * setWithObjects(ident obj,...)
static ident reduce(const Set *self, Reducer reducer, ident accumulator, ident data)
static Set * setWithArray(const Array *array)
static void removeObject(Set *self, const ident obj)
static Set * initWithObjects(Set *self,...)
static Object * copy(const Object *self)
static Set * initWithSet(Set *self, const Set *set)
static Set * initWithArray(Set *self, const Array *array)
static void removeAllObjects(Set *self)
static bool containsObjectMatching(const Set *self, Predicate predicate, ident data)
static Set * setWithSet(const Set *set)
static Set * setWithCapacity(size_t capacity)
bool containsObject(const Array *self, const ident obj)
ident interface
The interface of the Class.
int hash(const Object *self)
void dealloc(Object *self)
Frees all resources held by this Object.
Set * setWithSet(const Set *set)
Returns a new Set with the contents of set.
Set * initWithObjects(Set *self,...)
Initializes this Set with the specified objects.
Set * init(Set *self)
Initializes this Set.
Set * mappedSet(const Set *self, Functor functor, ident data)
Transforms the elements in this Set by functor.
Set * initWithArray(Set *self, const Array *array)
Initializes this Set to contain the Objects in array.
Set * setWithCapacity(size_t capacity)
Returns a new Set with the given capacity.
Set * initWithSet(Set *self, const Set *set)
Initializes this Set to contain the Objects in set.
Set * setWithObjects(ident obj,...)
Returns a new Set containing the specified Objects.
Set * setWithArray(const Array *array)
Returns a new Set with the contents of array.
ident reduce(const Set *self, Reducer reducer, ident accumulator, ident data)
Set * initWithCapacity(Set *self, size_t capacity)
Initializes this Set with the specified capacity.