Synchronized List for inserts/removes. More...
Instance Methods | |
| (void) | - clear |
| Clears the list. More... | |
| (long long) | - count |
| Gets the count of items in the list. More... | |
| (NSMutableArray *) | - getArrayWithCount: |
| Gets an array of a given type of a given length. More... | |
| (instancetype) | - init |
| Creates an instance of a FMLiveSwitchFrequentReadSynchronizedList`1. More... | |
| (instancetype) | - initWithLockObject: |
| Creates an instance of a FMLiveSwitchFrequentReadSynchronizedList`1. More... | |
| (void) | - insertWithIndex:value: |
| Synchronized insert into collection at a given index. More... | |
| (void) | - remove: |
| Synchronized remove from collection. More... | |
| (void) | - removeAtWithIndex: |
| Synchronized remove from collection at a specified index. More... | |
| (NSMutableArray *) | - values |
| Gets the values in the collection not subject to synchronization and Concurrent Modification/Access issues. More... | |
Class Methods | |
| (FMLiveSwitchFrequentReadSynchronizedList *) | + frequentReadSynchronizedList |
| Creates an instance of a FMLiveSwitchFrequentReadSynchronizedList`1. More... | |
| (FMLiveSwitchFrequentReadSynchronizedList *) | + frequentReadSynchronizedListWithLockObject: |
| Creates an instance of a FMLiveSwitchFrequentReadSynchronizedList`1. More... | |
Protected Attributes | |
| __pad0__: NSObject- (void) add:(T)value | |
Synchronized List for inserts/removes.
Unsynchronized for reads. Optimized for frequent reads relative to writes.
| - (void) clear |
Clears the list.
| - (long long) count |
Gets the count of items in the list.
| + (FMLiveSwitchFrequentReadSynchronizedList*) frequentReadSynchronizedList |
Creates an instance of a FMLiveSwitchFrequentReadSynchronizedList`1.
| + (FMLiveSwitchFrequentReadSynchronizedList*) frequentReadSynchronizedListWithLockObject: | (id) | lockObject |
Creates an instance of a FMLiveSwitchFrequentReadSynchronizedList`1.
| lockObject | Synchronization object. |
| - (NSMutableArray*) getArrayWithCount: | (int) | count |
Gets an array of a given type of a given length.
| count | The count. |
Implemented in FMLiveSwitchIceCandidateSynchronizedList, and FMLiveSwitchIceCandidatePairSynchronizedList.
| - (instancetype) init |
Creates an instance of a FMLiveSwitchFrequentReadSynchronizedList`1.
| - (instancetype) initWithLockObject: | (id) | lockObject |
Creates an instance of a FMLiveSwitchFrequentReadSynchronizedList`1.
| lockObject | Synchronization object. |
| - (void) insertWithIndex: | (int) | index | |
| value: | (T) | value | |
Synchronized insert into collection at a given index.
| value | Value |
| index | Index |
| - (void) remove: | (T) | value |
Synchronized remove from collection.
| value | Value |
| - (void) removeAtWithIndex: | (int) | index |
Synchronized remove from collection at a specified index.
| index | Index |
| - (NSMutableArray*) values |
Gets the values in the collection not subject to synchronization and Concurrent Modification/Access issues.
May be missing newly added or removed values.
|
protected |