org.openmali.vecmath2.pools
Class TexCoord1fPool

java.lang.Object
  extended by org.openmali.pooling.ObjectPool<TexCoord1f>
      extended by org.openmali.vecmath2.pools.TexCoord1fPool

public class TexCoord1fPool
extends ObjectPool<TexCoord1f>

An instance pool for TexCoord1f instances.


Constructor Summary
TexCoord1fPool(int initialSize)
           
 
Method Summary
 TexCoord1f alloc()
          
 TexCoord1f alloc(float s)
           
protected  TexCoord1f 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

TexCoord1fPool

public TexCoord1fPool(int initialSize)
Method Detail

newInstance

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

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

alloc

public TexCoord1f alloc()

Overrides:
alloc in class ObjectPool<TexCoord1f>

alloc

public TexCoord1f alloc(float s)