Instance Methods | |
(TValue) | - addOrUpdateWithKey:addValue:updateValueFactoryBlock: |
(TKey, TValue) | - addOrUpdateWithKeyAndAddValueAndUpdateValueFactoryBlock |
(void) | - clear |
(bool) | - containsKey: |
(int) | - count |
(TValue) | - getOrAddWithKey:valueFactory: |
(TValue) | - getOrAddWithKey:valueFactoryBlock: |
(TKey) | - getOrAddWithKeyAndValueFactoryBlock |
(instancetype) | - initWithHashCallback: |
(instancetype) | - initWithHashCallbackBlock: |
(bool) | - isEmpty |
(NSMutableArray< TKey > *) | - keys |
(bool) | - tryAddWithKey:value: |
(bool) | - tryGetValueWithKey:value: |
(bool) | - tryRemoveWithKey:value: |
(bool) | - tryUpdateWithKey:newValue:comparisonValue: |
(NSMutableArray< TValue > *) | - values |
Protected Attributes | |
__pad0__: NSObject- (TValue) addOrUpdateWithKey:(TKey)key addValue:(TValue)addValue updateValueFactory:(FMLiveSwitchFunction2<TKey | |
TValue | |
TValue * | updateValueFactory |
- (TValue) addOrUpdateWithKey: | (TKey) | key | |
addValue: | (TValue) | addValue | |
updateValueFactoryBlock: | (TValue(^)(TKey, TValue)) | updateValueFactoryBlock | |
- (TKey, TValue) addOrUpdateWithKeyAndAddValueAndUpdateValueFactoryBlock |
- (void) clear |
- (bool) containsKey: | (TKey) | key |
- (int) count |
- (TValue) getOrAddWithKey: | (TKey) | key | |
valueFactory: | (FMLiveSwitchFunction1< TKey, TValue > *) | valueFactory | |
- (TKey) getOrAddWithKeyAndValueFactoryBlock |
- (instancetype) initWithHashCallback: | (FMLiveSwitchFunction1< TKey, NSString * > *) | hashCallback |
- (instancetype) initWithHashCallbackBlock: | (NSString *(^)(TKey)) | hashCallbackBlock |
+ (FMLiveSwitchInternalConcurrentDictionary*) internalConcurrentDictionaryWithHashCallback: | (FMLiveSwitchFunction1< TKey, NSString * > *) | hashCallback |
+ (FMLiveSwitchInternalConcurrentDictionary*) internalConcurrentDictionaryWithHashCallbackBlock: | (NSString *(^)(TKey)) | hashCallbackBlock |
- (bool) isEmpty |
- (NSMutableArray<TKey>*) keys |
- (bool) tryAddWithKey: | (TKey) | key | |
value: | (TValue) | value | |
- (bool) tryGetValueWithKey: | (TKey) | key | |
value: | (TValue *) | value | |
- (bool) tryRemoveWithKey: | (TKey) | key | |
value: | (TValue *) | value | |
- (bool) tryUpdateWithKey: | (TKey) | key | |
newValue: | (TValue) | newValue | |
comparisonValue: | (TValue) | comparisonValue | |
- (NSMutableArray<TValue>*) values |
|
protected |
|
protected |
|
protected |