org.jbox2d.pooling.normal
Class MutableStack<E,T extends E>
java.lang.Object
org.jbox2d.pooling.normal.MutableStack<E,T>
- All Implemented Interfaces:
- IDynamicStack<E>
public class MutableStack<E,T extends E>
- extends Object
- implements IDynamicStack<E>
Method Summary |
E |
pop()
Pops an item off the stack |
void |
push(E argObject)
Pushes an item back on the stack |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
MutableStack
public MutableStack(Class<T> argClass,
int argInitSize)
MutableStack
public MutableStack(Class<T> argClass,
int argInitSize,
Class<?>[] argParam,
Object[] argArgs)
pop
public final E pop()
- Description copied from interface:
IDynamicStack
- Pops an item off the stack
- Specified by:
pop
in interface IDynamicStack<E>
- Returns:
push
public final void push(E argObject)
- Description copied from interface:
IDynamicStack
- Pushes an item back on the stack
- Specified by:
push
in interface IDynamicStack<E>
Copyright © 2012. All Rights Reserved.