19 OF_ASSUME_NONNULL_BEGIN
26 #ifdef OF_HAVE_GENERICS
30 # define ObjectType id
39 - (void)addObject: (ObjectType)object;
46 - (void)removeObject: (ObjectType)object;
53 - (void)minusSet: (OFSet OF_GENERIC(ObjectType)*)
set;
61 - (void)intersectSet: (OFSet OF_GENERIC(ObjectType)*)
set;
68 - (void)unionSet: (OFSet OF_GENERIC(ObjectType)*)
set;
75 #if !defined(OF_HAVE_GENERICS) && !defined(DOXYGEN)
An abstract class for a mutable unordered set of unique objects.
Definition: OFMutableSet.h:32
An abstract class for an unordered set of unique objects.
Definition: OFSet.h:69
void makeImmutable()
Converts the mutable set to an immutable set.
Definition: OFMutableSet.m:201
instancetype set()
Creates a new set.
Definition: OFSet.m:120