protected static class VMOperationControl.AllocationFreeStack<T extends VMOperationControl.AllocationFreeStack.Element<T>> extends Object
| Modifier and Type | Class and Description |
|---|---|
static class |
VMOperationControl.AllocationFreeStack.Element<T extends VMOperationControl.AllocationFreeStack.Element<T>>
An element for an allocation-free stack.
|
| Modifier | Constructor and Description |
|---|---|
protected |
AllocationFreeStack()
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
static <U extends VMOperationControl.AllocationFreeStack.Element<U>> |
factory() |
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) |
public static <U extends VMOperationControl.AllocationFreeStack.Element<U>> VMOperationControl.AllocationFreeStack<U> factory()
public boolean isEmpty()
public void push(T element)
public T pop()