public class TransformationTreePool extends Object
Constructor and Description |
---|
TransformationTreePool(Alignment alignment,
ContextMatcher matcher)
Create a transformation tree pool.
|
Modifier and Type | Method and Description |
---|---|
TransformationTree |
getTree(Cell typeCell)
Get a transformation tree from the pool.
|
void |
releaseTree(TransformationTree tree)
Release a tree to the pool.
|
public TransformationTreePool(Alignment alignment, ContextMatcher matcher)
alignment
- the associated alignmentmatcher
- the context matcher to apply to a created treepublic TransformationTree getTree(Cell typeCell)
typeCell
- the type cell for the transformation treepublic void releaseTree(TransformationTree tree)
tree
- the transformation tree that is no longer neededBuild 2013-10-07_11-27-38
Revision 99b27713a799a59a21b0b166eaaea8aaefbf125a