47
48
49
50
51
52
53
54
55
56
57
58
59
60
|
* @param object The object to inspect
* @return Whether the object should be in the filtered set
*/
typedef bool (^of_set_filter_block_t)(id object);
#endif
/*!
* @brief An abstract class for an unordered set of unique objects.
*
* @warning Do not mutate objects that are in a set! Changing the hash of
* objects in a set breaks the internal representation of the set!
*/
@interface OFSet: OFObject <OFCollection, OFCopying, OFMutableCopying,
OFSerialization>
|
>
>
|
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
|
* @param object The object to inspect
* @return Whether the object should be in the filtered set
*/
typedef bool (^of_set_filter_block_t)(id object);
#endif
/*!
* @class OFSet OFSet.h ObjFW/OFSet.h
*
* @brief An abstract class for an unordered set of unique objects.
*
* @warning Do not mutate objects that are in a set! Changing the hash of
* objects in a set breaks the internal representation of the set!
*/
@interface OFSet: OFObject <OFCollection, OFCopying, OFMutableCopying,
OFSerialization>
|