19 OF_ASSUME_NONNULL_BEGIN
27 #if !defined(OF_HAVE_GENERICS) && !defined(DOXYGEN) 28 # define ObjectType id 37 + (instancetype)setWithCapacity: (
size_t)capacity;
46 - initWithCapacity: (
size_t)capacity;
53 - (void)addObject: (ObjectType)object;
60 - (void)removeObject: (ObjectType)object;
67 - (void)minusSet: (
OFSet OF_GENERIC(ObjectType) *)set;
75 - (void)intersectSet: (
OFSet OF_GENERIC(ObjectType) *)set;
82 - (void)unionSet: (
OFSet OF_GENERIC(ObjectType) *)set;
88 #if !defined(OF_HAVE_GENERICS) && !defined(DOXYGEN) An abstract class for an unordered set of unique objects.
Definition: OFSet.h:63
void makeImmutable()
Converts the mutable set to an immutable set.
Definition: OFMutableSet.m:202
An abstract class for a mutable unordered set of unique objects.
Definition: OFMutableSet.h:26