123456789101112131415161718192021222324 |
- //
- // TBThreadSafeMutableArry.h
- // TBLocationFramework
- //
- // Created by striveliu on 7/4/14.
- // Copyright (c) 2014 taobao. All rights reserved.
- //
- #import <Foundation/Foundation.h>
- #import <pthread.h>
- @interface TBSDKThreadSafeMutableArry : NSArray
- {
- pthread_rwlock_t s_pthread_rwlock_t;
- NSMutableArray *_mutableArry;
- }
- - (void)addObject:(id)anObject;
- - (void) insert: (id) object atIndex: (NSUInteger) atIndex;
- - (void)removeObjectAtIndex:(NSUInteger)index;
- - (void)removeAllObjects;
- - (void)removeLastObject;
- - (id)objectAtIndex:(NSUInteger)index;
- - (NSUInteger)getCount;
- @end
|