28 @property(nonatomic, readonly) NSUInteger
count;
36 - (id)objectAtIndex:(NSUInteger)index;
44 - (NSUInteger)indexOfObject:(
id)anObject;
52 - (BOOL)containsObject:(
id)anObject;
61 - (id):(NSUInteger)index __deprecated;
80 - (void)replaceObjectAtIndex:(NSUInteger)index withObject:(
id)anObject;
94 @property(unsafe_unretained, nonatomic, readonly)
id first;
98 @property(unsafe_unretained, nonatomic, readonly)
id second;
104 + (instancetype)tuple;
114 - (instancetype)initWithFirst:(
id)first second:(
id)second;
119 + (instancetype)tupleWithFirst:(
id)first second:(
id)second;
132 @property(nonatomic, strong)
id first;
147 - (void)setTuple:(
NSATuple *)otherTuple;
162 @property(unsafe_unretained, nonatomic, readonly)
id first;
166 @property(unsafe_unretained, nonatomic, readonly)
id second;
170 @property(unsafe_unretained, nonatomic, readonly)
id third;
176 + (instancetype)triple;
188 - (instancetype)initWithFirst:(
id)first second:(
id)second third:(
id)third;
193 + (instancetype)tripleWithFirst:(
id)first second:(
id)second third:(
id)third;
206 @property(nonatomic, strong)
id first;
210 @property(nonatomic, strong)
id second;
214 @property(nonatomic, strong)
id third;
220 - (void)setTriple:(
NSATriple *)otherTriple;
id _second
Definition: NSADataObject.h:89
void swap()
Swap first and second.
This protocol defines NSArray-like interface methods for data objects.
Definition: NSADataObject.h:23
Manages ordered collections of 2 objects.
Definition: NSADataObject.h:127
NSArray * allObjects
Returns an array containing the container’s members, or an empty array if the container has no membe...
Definition: NSADataObject.h:66
The indexed subscript getter protocol NSAIndexedSubscript must be adopted and implemented by immutabl...
Definition: NSASubscript.h:22
This protocol defines NSMutableArray-like interface methods for data objects.
Definition: NSADataObject.h:73
Manages ordered collections of 3 objects.
Definition: NSADataObject.h:201
The indexed subscript setter protocol NSAMutableIndexedSubscript must be adopted and implemented by m...
Definition: NSASubscript.h:39
NSUInteger count
Returns the number of objects currently in the data object.
Definition: NSADataObject.h:28
Manages ordered collections of 2 objects.
Definition: NSADataObject.h:88
Protocols to handle indexed or keyed subscript of modern Objective-C.
id second
second object
Definition: NSADataObject.h:136
Manages ordered collections of 3 objects.
Definition: NSADataObject.h:155
id first
first object
Definition: NSADataObject.h:132
id _first
Definition: NSADataObject.h:89
id _third
Definition: NSADataObject.h:156