13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
|
/**
* The OFMutableArray class provides a class for storing, adding and removing
* objects in an array.
*/
@interface OFMutableArray: OFArray {}
/**
* Adds an object to the OFDataArray.
*
* \param obj An object to add
*/
- addObject: (OFObject*)obj;
/**
* Removes the first object equivalent to the specified object.
*
* \param obj The object to remove
*/
- removeObject: (id)obj;
|
|
>
>
>
>
>
>
>
>
>
|
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
|
/**
* The OFMutableArray class provides a class for storing, adding and removing
* objects in an array.
*/
@interface OFMutableArray: OFArray {}
/**
* Adds an object to the OFArray.
*
* \param obj An object to add
*/
- addObject: (OFObject*)obj;
/**
* Adds an object to the OFArray at the specified index.
*
* \param obj An object to add
* \param index The index where the object should be added
*/
- addObject: (OFObject*)obj
atIndex: (size_t)index;
/**
* Removes the first object equivalent to the specified object.
*
* \param obj The object to remove
*/
- removeObject: (id)obj;
|
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
|
* Removes the object at the specified index.
*
* \param index The index of the object to remove
*/
- removeObjectAtIndex: (size_t)index;
/**
* Removes the specified amount of objects from the end of the OFDataArray.
*
* \param nobjects The number of objects to remove
*/
- removeNObjects: (size_t)nobjects;
/**
* Removes the specified amount of objects at the specified index.
|
|
|
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
|
* Removes the object at the specified index.
*
* \param index The index of the object to remove
*/
- removeObjectAtIndex: (size_t)index;
/**
* Removes the specified amount of objects from the end of the OFArray.
*
* \param nobjects The number of objects to remove
*/
- removeNObjects: (size_t)nobjects;
/**
* Removes the specified amount of objects at the specified index.
|