|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectgpalta.ops.NodeBuilder
gpalta.ops.NodeBuilderFull
public class NodeBuilderFull
Implements the 'FULL' build method
Constructor Summary | |
---|---|
NodeBuilderFull(NodeFactory nodeFactory)
|
Method Summary | |
---|---|
void |
build(NodeParent node,
int maxDepth)
|
void |
build(NodeParent node,
int whichKid,
int maxDepth)
Implements the 'FULL' build method |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public NodeBuilderFull(NodeFactory nodeFactory)
Method Detail |
---|
public void build(NodeParent node, int maxDepth)
build
in class NodeBuilder
public void build(NodeParent node, int whichKid, int maxDepth)
build
in class NodeBuilder
node
- The Node
to build (i.e. modify its kids)whichKid
- If -1, modify all kids. Else, modify only kid number wichKidmaxDepth
- The number of levels this Node
must have (relative to himself)
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |