org.openmali.vecmath2.pools
Class AxisAngle3fPool

java.lang.Object
  extended by org.openmali.pooling.ObjectPool<AxisAngle3f>
      extended by org.openmali.vecmath2.pools.AxisAngle3fPool

public class AxisAngle3fPool
extends ObjectPool<AxisAngle3f>

An instance pool for AxisAngle3f instances.


Constructor Summary
AxisAngle3fPool(int initialSize)
           
 
Method Summary
 AxisAngle3f alloc()
          
 AxisAngle3f alloc(float x, float y, float z, float angle)
           
protected  AxisAngle3f 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

AxisAngle3fPool

public AxisAngle3fPool(int initialSize)
Method Detail

newInstance

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

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

alloc

public AxisAngle3f alloc()

Overrides:
alloc in class ObjectPool<AxisAngle3f>

alloc

public AxisAngle3f alloc(float x,
                         float y,
                         float z,
                         float angle)