|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectnet.sf.jtreemap.ktreemap.TreeMapNodeBuilder
public abstract class TreeMapNodeBuilder
Tree builder for a KTreeMap.

| Constructor Summary | |
|---|---|
TreeMapNodeBuilder()
|
|
| Method Summary | |
|---|---|
TreeMapNode |
buildBranch(java.lang.Object value,
TreeMapNode parent)
Add a branch to the tree. |
TreeMapNode |
buildLeaf(java.lang.Object value,
TreeMapNode parent)
add a leaf to the tree. |
TreeMapNode |
getRoot()
get the build tree. |
abstract double |
getWeight(java.lang.Object value)
Return the weight of an Object. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public TreeMapNodeBuilder()
| Method Detail |
|---|
public TreeMapNode buildBranch(java.lang.Object value,
TreeMapNode parent)
value - Value of the branchparent - father of the branch
public TreeMapNode buildLeaf(java.lang.Object value,
TreeMapNode parent)
value - Value of the leafparent - father of the leaf
public TreeMapNode getRoot()
public abstract double getWeight(java.lang.Object value)
value - the object (generaly, the TreeMapNode.getValue())
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||