com.bulletphysics
Class BulletPool

java.lang.Object
  extended by com.bulletphysics.BulletPool

public class BulletPool
extends java.lang.Object

Maintains per-thread object pools for different types.


Method Summary
static
<T> ObjectPool<T>
get(java.lang.Class<T> cls)
          Returns per-thread object pool for given type, or create one if it doesn't exist.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

get

public static <T> ObjectPool<T> get(java.lang.Class<T> cls)
Returns per-thread object pool for given type, or create one if it doesn't exist.

Parameters:
cls - type
Returns:
object pool