public class AlignmentList extends java.lang.Object implements Poolable
Modifier and Type | Class and Description |
---|---|
static class |
AlignmentList.Alignment
An AlignmentList.Alignment is a list of AlignmentList.Alignment.AlignmentAtoms.
|
Modifier and Type | Method and Description |
---|---|
void |
cleanUp()
This method is called from the Pool before the object is
returned to the pool.
|
void |
free() |
static void |
fullCleanUp()
Cleans up the entire memory from the current object pool.
|
AlignmentList.Alignment |
get(int i)
Returns an alignment of this list.
|
boolean |
isEmpty() |
Poolable |
newObject()
This method is called from the Pool if there is no object
available to recycle.
|
AlignmentList.Alignment |
nextAlignment()
Increments the list by one and returns the new AlignmentList.Alignment from
this AlignmentList.
|
static AlignmentList |
obtainList() |
void |
removeLast()
Removes the last element of this list of alignments.
|
int |
size() |
java.lang.String |
toString() |
public void cleanUp()
Poolable
public void free()
Pool.free(Poolable)
public static void fullCleanUp()
public AlignmentList.Alignment get(int i)
public boolean isEmpty()
public Poolable newObject()
Poolable
public AlignmentList.Alignment nextAlignment()
public static AlignmentList obtainList()
Pool.obtain()
public void removeLast()
public int size()
public java.lang.String toString()
toString
in class java.lang.Object