A ConcurrentStack that maps to the appropriate platform version. More...
Public Member Functions | |
| void | clear () |
| Clears the stack of all items. More... | |
| int | getCount () |
| Gets the amount of items in the stack. More... | |
| boolean | getIsEmpty () |
| Gets true if the stack is empty. More... | |
| ManagedConcurrentStack () | |
| Creates a new instance of a ConcurrentStack. More... | |
| void | push (TValue item) |
| Pushes a new item on top of the stack. More... | |
| boolean | tryPeek (fm.liveswitch.Holder< TValue > result) |
| Tries to peek at the top value in stack. More... | |
| boolean | tryPop (fm.liveswitch.Holder< TValue > result) |
| Tries to pop the top value off of the stack. More... | |
A ConcurrentStack that maps to the appropriate platform version.
| fm.liveswitch.ManagedConcurrentStack< TValue >.ManagedConcurrentStack | ( | ) |
Creates a new instance of a ConcurrentStack.
| void fm.liveswitch.ManagedConcurrentStack< TValue >.clear | ( | ) |
Clears the stack of all items.
| int fm.liveswitch.ManagedConcurrentStack< TValue >.getCount | ( | ) |
Gets the amount of items in the stack.
| boolean fm.liveswitch.ManagedConcurrentStack< TValue >.getIsEmpty | ( | ) |
Gets true if the stack is empty.
| void fm.liveswitch.ManagedConcurrentStack< TValue >.push | ( | TValue | item | ) |
Pushes a new item on top of the stack.
| item | The item to push. |
| boolean fm.liveswitch.ManagedConcurrentStack< TValue >.tryPeek | ( | fm.liveswitch.Holder< TValue > | result | ) |
Tries to peek at the top value in stack.
| result | The value from the stack if possible, null otherwise. |
| boolean fm.liveswitch.ManagedConcurrentStack< TValue >.tryPop | ( | fm.liveswitch.Holder< 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. |