Instance Methods | |
(void) | - enqueueWithItem: |
(instancetype) | - initWithCapacity:bufferFactory: |
(instancetype) | - initWithCapacity:bufferFactoryBlock: |
(bool) | - isEmpty |
(bool) | - isFull |
(T) | - peek |
(NSMutableArray *) | - toArray |
Class Methods | |
(FMLiveSwitchRingBuffer *) | + ringBufferWithCapacity:bufferFactory: |
(FMLiveSwitchRingBuffer *) | + ringBufferWithCapacity:bufferFactoryBlock: |
Protected Attributes | |
__pad0__: NSObject- (T) dequeue | |
- (void) enqueueWithItem: | (T) | item |
- (instancetype) initWithCapacity: | (int) | capacity | |
bufferFactory: | (FMLiveSwitchFunction1< id, NSMutableArray * > *) | bufferFactory | |
- (instancetype) initWithCapacity: | (int) | capacity | |
bufferFactoryBlock: | (NSMutableArray *(^)(int)) | bufferFactoryBlock | |
- (bool) isEmpty |
- (bool) isFull |
- T peek |
+ (FMLiveSwitchRingBuffer*) ringBufferWithCapacity: | (int) | capacity | |
bufferFactory: | (FMLiveSwitchFunction1< id, NSMutableArray * > *) | bufferFactory | |
+ (FMLiveSwitchRingBuffer*) ringBufferWithCapacity: | (int) | capacity | |
bufferFactoryBlock: | (NSMutableArray *(^)(int)) | bufferFactoryBlock | |
- (NSMutableArray*) toArray |
|
protected |