org.jbox2d.pooling.normal
Class OrderedStack<E>
java.lang.Object
org.jbox2d.pooling.normal.OrderedStack<E>
public abstract class OrderedStack<E>
- extends Object
- Author:
- Daniel Murphy
Constructor Summary |
OrderedStack(int argStackSize,
int argContainerSize)
|
Method Summary |
protected abstract E |
newInstance()
Creates a new instance of the object contained by this stack. |
E |
pop()
|
E[] |
pop(int argNum)
|
void |
push(int argNum)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
OrderedStack
public OrderedStack(int argStackSize,
int argContainerSize)
pop
public final E pop()
pop
public final E[] pop(int argNum)
push
public final void push(int argNum)
newInstance
protected abstract E newInstance()
- Creates a new instance of the object contained by this stack.
Copyright © 2013. All Rights Reserved.