org.openmali.vecmath2.pools
Class Matrix4fPool

java.lang.Object
  extended by org.openmali.pooling.ObjectPool<Matrix4f>
      extended by org.openmali.vecmath2.pools.Matrix4fPool

public class Matrix4fPool
extends ObjectPool<Matrix4f>

An instance pool for Matrix3f instances.


Constructor Summary
Matrix4fPool(int initialSize)
           
 
Method Summary
 Matrix4f alloc()
          
protected  Matrix4f newInstance()
          Creates a new instance of a pooled object.
 
Methods inherited from class org.openmali.pooling.ObjectPool
free, getSize
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Matrix4fPool

public Matrix4fPool(int initialSize)
Method Detail

newInstance

protected Matrix4f newInstance()
Creates a new instance of a pooled object.

Specified by:
newInstance in class ObjectPool<Matrix4f>
Returns:
the new object instance

alloc

public Matrix4f alloc()

Overrides:
alloc in class ObjectPool<Matrix4f>