#import <GPBArray.h>
Class used for repeated fields of int64_t values. This performs better than boxing into NSNumbers in NSArrays.
- Note
- This class is not meant to be subclassed.
Definition at line 392 of file bloaty/third_party/protobuf/objectivec/GPBArray.h.
◆ addValue: [1/2]
Adds a value to this array.
- Parameters
-
value | The value to add to this array. |
◆ addValue: [2/2]
Adds a value to this array.
- Parameters
-
value | The value to add to this array. |
◆ addValues:count: [1/2]
- (void) addValues: |
|
(const int64_t) |
values[__nullable] |
count: |
|
(NSUInteger) |
count |
|
|
| |
Adds values to this array.
- Parameters
-
values | The values to add to this array. |
count | The number of elements to add. |
◆ addValues:count: [2/2]
- (void) addValues: |
|
(const int64_t) |
values[__nullable] |
count: |
|
(NSUInteger) |
count |
|
|
| |
Adds values to this array.
- Parameters
-
values | The values to add to this array. |
count | The number of elements to add. |
◆ addValuesFromArray: [1/2]
Adds the values from the given array to this array.
- Parameters
-
array | The array containing the elements to add to this array. |
◆ addValuesFromArray: [2/2]
Adds the values from the given array to this array.
- Parameters
-
array | The array containing the elements to add to this array. |
◆ array [1/2]
◆ array [2/2]
◆ arrayWithCapacity: [1/2]
+ (instancetype) arrayWithCapacity: |
|
(NSUInteger) |
count |
|
Creates and initializes a GPBInt64Array with the given capacity.
- Parameters
-
count | The capacity needed for the array. |
- Returns
- A newly instanced GPBInt64Array with a capacity of count.
◆ arrayWithCapacity: [2/2]
+ (instancetype) arrayWithCapacity: |
|
(NSUInteger) |
count |
|
Creates and initializes a GPBInt64Array with the given capacity.
- Parameters
-
count | The capacity needed for the array. |
- Returns
- A newly instanced GPBInt64Array with a capacity of count.
◆ arrayWithValue: [1/2]
+ (instancetype) arrayWithValue: |
|
(int64_t) |
value |
|
Creates and initializes a GPBInt64Array with the single element given.
- Parameters
-
value | The value to be placed in the array. |
- Returns
- A newly instanced GPBInt64Array with value in it.
◆ arrayWithValue: [2/2]
+ (instancetype) arrayWithValue: |
|
(int64_t) |
value |
|
Creates and initializes a GPBInt64Array with the single element given.
- Parameters
-
value | The value to be placed in the array. |
- Returns
- A newly instanced GPBInt64Array with value in it.
◆ arrayWithValueArray: [1/2]
Creates and initializes a GPBInt64Array with the contents of the given array.
- Parameters
-
array | Array with the contents to be put into the new array. |
- Returns
- A newly instanced GPBInt64Array with the contents of array.
◆ arrayWithValueArray: [2/2]
Creates and initializes a GPBInt64Array with the contents of the given array.
- Parameters
-
array | Array with the contents to be put into the new array. |
- Returns
- A newly instanced GPBInt64Array with the contents of array.
◆ enumerateValuesWithBlock: [1/2]
Enumerates the values on this array with the given block.
- Parameters
-
block | The block to enumerate with. value: The current value being enumerated. idx: The index of the current value. stop: A pointer to a boolean that when set stops the enumeration. |
◆ enumerateValuesWithBlock: [2/2]
Enumerates the values on this array with the given block.
- Parameters
-
block | The block to enumerate with. value: The current value being enumerated. idx: The index of the current value. stop: A pointer to a boolean that when set stops the enumeration. |
◆ enumerateValuesWithOptions:usingBlock: [1/2]
- (void) enumerateValuesWithOptions: |
|
(NSEnumerationOptions) |
opts |
usingBlock: |
|
(void(NS_NOESCAPE ^ block)(int64_t value, NSUInteger idx, BOOL *stop)) |
|
|
|
| |
Enumerates the values on this array with the given block.
- Parameters
-
opts | Options to control the enumeration. |
block | The block to enumerate with. value: The current value being enumerated. idx: The index of the current value. stop: A pointer to a boolean that when set stops the enumeration. |
◆ enumerateValuesWithOptions:usingBlock: [2/2]
- (void) enumerateValuesWithOptions: |
|
(NSEnumerationOptions) |
opts |
usingBlock: |
|
(void(NS_NOESCAPE ^ block)(int64_t value, NSUInteger idx, BOOL *stop)) |
|
|
|
| |
Enumerates the values on this array with the given block.
- Parameters
-
opts | Options to control the enumeration. |
block | The block to enumerate with. value: The current value being enumerated. idx: The index of the current value. stop: A pointer to a boolean that when set stops the enumeration. |
◆ exchangeValueAtIndex:withValueAtIndex: [1/2]
- (void) exchangeValueAtIndex: |
|
(NSUInteger) |
idx1 |
withValueAtIndex: |
|
(NSUInteger) |
idx2 |
|
|
| |
Exchanges the values between the given indexes.
- Parameters
-
idx1 | The index of the first element to exchange. |
idx2 | The index of the second element to exchange. |
◆ exchangeValueAtIndex:withValueAtIndex: [2/2]
- (void) exchangeValueAtIndex: |
|
(NSUInteger) |
idx1 |
withValueAtIndex: |
|
(NSUInteger) |
idx2 |
|
|
| |
Exchanges the values between the given indexes.
- Parameters
-
idx1 | The index of the first element to exchange. |
idx2 | The index of the second element to exchange. |
◆ initWithCapacity: [1/2]
- (instancetype) initWithCapacity: |
|
(NSUInteger) |
count |
|
Initializes the array with the given capacity.
- Parameters
-
count | The capacity needed for the array. |
- Returns
- A newly initialized GPBInt64Array with a capacity of count.
◆ initWithCapacity: [2/2]
- (instancetype) initWithCapacity: |
|
(NSUInteger) |
count |
|
Initializes the array with the given capacity.
- Parameters
-
count | The capacity needed for the array. |
- Returns
- A newly initialized GPBInt64Array with a capacity of count.
◆ initWithValueArray: [1/2]
Initializes the array, copying the given values.
- Parameters
-
array | An array with the values to put inside this array. |
- Returns
- A newly initialized GPBInt64Array with a copy of the values.
◆ initWithValueArray: [2/2]
Initializes the array, copying the given values.
- Parameters
-
array | An array with the values to put inside this array. |
- Returns
- A newly initialized GPBInt64Array with a copy of the values.
◆ initWithValues:count: [1/2]
- (instancetype) initWithValues: |
|
(const int64_t) |
values[__nullable] |
count: |
|
(NSUInteger) |
count |
|
|
| |
Initializes the array, copying the given values.
- Parameters
-
values | An array with the values to put inside this array. |
count | The number of elements to copy into the array. |
- Returns
- A newly initialized GPBInt64Array with a copy of the values.
◆ initWithValues:count: [2/2]
- (instancetype) initWithValues: |
|
(const int64_t) |
values[__nullable] |
count: |
|
(NSUInteger) |
count |
|
|
| |
Initializes the array, copying the given values.
- Parameters
-
values | An array with the values to put inside this array. |
count | The number of elements to copy into the array. |
- Returns
- A newly initialized GPBInt64Array with a copy of the values.
◆ insertValue:atIndex: [1/2]
- (void) insertValue: |
|
(int64_t) |
value |
atIndex: |
|
(NSUInteger) |
index |
|
|
| |
Inserts a value into the given position.
- Parameters
-
value | The value to add to this array. |
index | The index into which to insert the value. |
◆ insertValue:atIndex: [2/2]
- (void) insertValue: |
|
(int64_t) |
value |
atIndex: |
|
(NSUInteger) |
index |
|
|
| |
Inserts a value into the given position.
- Parameters
-
value | The value to add to this array. |
index | The index into which to insert the value. |
◆ NS_DESIGNATED_INITIALIZER [1/2]
- (instancetype) NS_DESIGNATED_INITIALIZER |
|
|
|
◆ NS_DESIGNATED_INITIALIZER [2/2]
- (instancetype) NS_DESIGNATED_INITIALIZER |
|
|
|
◆ removeAll [1/2]
Removes all the values from this array.
◆ removeAll [2/2]
Removes all the values from this array.
◆ removeValueAtIndex: [1/2]
- (void) removeValueAtIndex: |
|
(NSUInteger) |
index |
|
Removes the value at the given index.
- Parameters
-
index | The index of the value to remove. |
◆ removeValueAtIndex: [2/2]
- (void) removeValueAtIndex: |
|
(NSUInteger) |
index |
|
Removes the value at the given index.
- Parameters
-
index | The index of the value to remove. |
◆ replaceValueAtIndex:withValue: [1/2]
- (void) replaceValueAtIndex: |
|
(NSUInteger) |
index |
withValue: |
|
(int64_t) |
value |
|
|
| |
Replaces the value at the given index with the given value.
- Parameters
-
index | The index for which to replace the value. |
value | The value to replace with. |
◆ replaceValueAtIndex:withValue: [2/2]
- (void) replaceValueAtIndex: |
|
(NSUInteger) |
index |
withValue: |
|
(int64_t) |
value |
|
|
| |
Replaces the value at the given index with the given value.
- Parameters
-
index | The index for which to replace the value. |
value | The value to replace with. |
◆ valueAtIndex: [1/2]
- (int64_t) valueAtIndex: |
|
(NSUInteger) |
index |
|
Gets the value at the given index.
- Parameters
-
index | The index of the value to get. |
- Returns
- The value at the given index.
◆ valueAtIndex: [2/2]
- (int64_t) valueAtIndex: |
|
(NSUInteger) |
index |
|
Gets the value at the given index.
- Parameters
-
index | The index of the value to get. |
- Returns
- The value at the given index.
◆ _autocreator
◆ count
The documentation for this class was generated from the following file: