|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.openmali.pooling.ObjectPool<Vector2d>
org.openmali.vecmath2.pools.Vector2dPool
public class Vector2dPool
An instance pool for Vector2d instances.
| Constructor Summary | |
|---|---|
Vector2dPool(int initialSize)
|
|
| Method Summary | |
|---|---|
Vector2d |
alloc()
|
Vector2d |
alloc(double x,
double y)
|
protected Vector2d |
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 |
|---|
public Vector2dPool(int initialSize)
| Method Detail |
|---|
protected Vector2d newInstance()
newInstance in class ObjectPool<Vector2d>public Vector2d alloc()
alloc in class ObjectPool<Vector2d>
public Vector2d alloc(double x,
double y)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||