|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.bulletphysics.StackList<T>
com.bulletphysics.ObjectStackList<T>
public class ObjectStackList<T>
Stack-based object pool for arbitrary objects, returning not supported.
Constructor Summary | |
---|---|
ObjectStackList(java.lang.Class<T> cls)
|
Method Summary | |
---|---|
protected void |
copy(T dest,
T src)
Copies data from one instance to another. |
protected T |
create()
Creates a new instance of type. |
Methods inherited from class com.bulletphysics.StackList |
---|
get, pop, push, returning |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public ObjectStackList(java.lang.Class<T> cls)
Method Detail |
---|
protected T create()
StackList
create
in class StackList<T>
protected void copy(T dest, T src)
StackList
copy
in class StackList<T>
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |