|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.jbox2d.pooling.normal.CircleStack<E>
public abstract class CircleStack<E>
Constructor Summary | |
---|---|
CircleStack(int argStackSize,
int argContainerSize)
|
Method Summary | |
---|---|
protected abstract E |
newInstance()
Creates a new instance of the object contained by this stack. |
E |
pop()
Returns the next object in the pool |
E[] |
pop(int argNum)
Returns the next 'argNum' objects in the pool in an array |
void |
push(int argNum)
Tells the stack to take back the last 'argNum' items |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public CircleStack(int argStackSize, int argContainerSize)
Method Detail |
---|
public final E pop()
IOrderedStack
pop
in interface IOrderedStack<E>
public final E[] pop(int argNum)
IOrderedStack
pop
in interface IOrderedStack<E>
public void push(int argNum)
IOrderedStack
push
in interface IOrderedStack<E>
protected abstract E newInstance()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |