at.jku.risc.stout.urau.util
Modifier and Type | Method and Description |
---|---|
void |
add(int x,
int y) |
void |
cleanUp()
This method is called from the Pool before the object is
returned to the pool.
|
boolean |
contains(int x,
int y) |
void |
free()
Clean up the references and return the object to the pool.
|
static void |
fullCleanUp()
Cleans up the entire memory from the current object pool.
|
int[] |
get(int i)
guarantees complexity O(1) by definition
|
Poolable |
newObject()
This method is called from the Pool if there is no object
available to recycle.
|
static CoordList |
obtainList() |
void |
removeLast()
guarantees complexity O(1) by definition
|
int |
size()
guarantees complexity O(1) by definition
|
public void add(int x, int y)
public void cleanUp()
Poolable
public boolean contains(int x, int y)
public void free()
public static void fullCleanUp()
public int[] get(int i)
TinyList
public Poolable newObject()
Poolable
public static CoordList obtainList()
public void removeLast()
TinyList
removeLast
in class TinyList<int[]>