A ConcurrentStack that maps to the appropriate platform version. More...
Instance Methods | |
(int) | - count |
Gets the amount of items in the stack. More... | |
(instancetype) | - init |
Creates a new instance of a ConcurrentStack. More... | |
(bool) | - isEmpty |
Gets true if the stack is empty. More... | |
(void) | - pushWithItem: |
Pushes a new item on top of the stack. More... | |
(bool) | - tryPeekWithResult: |
Tries to peek at the top value in stack. More... | |
(bool) | - tryPopWithResult: |
Tries to pop the top value off of the stack. More... | |
Class Methods | |
(FMLiveSwitchManagedConcurrentStack *) | + managedConcurrentStack |
Creates a new instance of a ConcurrentStack. More... | |
Protected Attributes | |
__pad0__: NSObject- (void) clear | |
A ConcurrentStack that maps to the appropriate platform version.
- (int) count |
Gets the amount of items in the stack.
- (instancetype) init |
Creates a new instance of a ConcurrentStack.
- (bool) isEmpty |
Gets true if the stack is empty.
+ (FMLiveSwitchManagedConcurrentStack*) managedConcurrentStack |
Creates a new instance of a ConcurrentStack.
- (void) pushWithItem: | (TValue) | item |
Pushes a new item on top of the stack.
item | The item to push. |
- (bool) tryPeekWithResult: | (TValue *) | result |
Tries to peek at the top value in stack.
result | The value from the stack if possible, null otherwise. |
- (bool) tryPopWithResult: | (TValue *) | result |
Tries to pop the top value off of the stack.
result | The value from the top of the stack if possible, null otherwise. |
|
protected |