protected static final class VMOperationControl.SynchronizedAllocationFreeStack<T extends VMOperationControl.AllocationFreeStack.Element<T>> extends VMOperationControl.AllocationFreeStack<T>
VMOperationControl.AllocationFreeStack.Element<T extends VMOperationControl.AllocationFreeStack.Element<T>>| Constructor and Description |
|---|
SynchronizedAllocationFreeStack(VMMutex lock) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
isEmpty()
Returns true if the stack is empty, else false.
|
T |
pop()
Pop an element from the stack, or null if the stack is empty.
|
void |
push(T element) |
factorypublic SynchronizedAllocationFreeStack(VMMutex lock)
public boolean isEmpty()
isEmpty in class VMOperationControl.AllocationFreeStack<T extends VMOperationControl.AllocationFreeStack.Element<T>>public void push(T element)
push in class VMOperationControl.AllocationFreeStack<T extends VMOperationControl.AllocationFreeStack.Element<T>>public T pop()
VMOperationControl.AllocationFreeStackpop in class VMOperationControl.AllocationFreeStack<T extends VMOperationControl.AllocationFreeStack.Element<T>>