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