26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
|
@interface OFMutablePair OF_GENERIC(FirstType, SecondType):
OFPair OF_GENERIC(FirstType, SecondType)
#if !defined(OF_HAVE_GENERICS) && !defined(DOXYGEN)
# define FirstType id
# define SecondType id
#endif
/*!
* The first object of the pair.
*/
@property (readwrite, nonatomic, retain) FirstType firstObject;
/*!
* The second object of the pair.
*/
@property (readwrite, nonatomic, retain) SecondType secondObject;
/*!
* @brief Converts the mutable pair to an immutable pair.
*/
- (void)makeImmutable;
|
|
|
|
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
|
@interface OFMutablePair OF_GENERIC(FirstType, SecondType):
OFPair OF_GENERIC(FirstType, SecondType)
#if !defined(OF_HAVE_GENERICS) && !defined(DOXYGEN)
# define FirstType id
# define SecondType id
#endif
/*!
* @brief The first object of the pair.
*/
@property (readwrite, nonatomic, retain) FirstType firstObject;
/*!
* @brief The second object of the pair.
*/
@property (readwrite, nonatomic, retain) SecondType secondObject;
/*!
* @brief Converts the mutable pair to an immutable pair.
*/
- (void)makeImmutable;
|