schmitzm.geotools.feature
Class FeatureOperationTree.AttributeIndexReferenceNode
java.lang.Object
schmitzm.lang.tree.TreeNode<E>
schmitzm.lang.tree.BinaryTreeNode<Integer>
schmitzm.geotools.feature.FeatureOperationTree.AttributeIndexReferenceNode
- Enclosing class:
- FeatureOperationTree
public static class FeatureOperationTree.AttributeIndexReferenceNode
- extends BinaryTreeNode<Integer>
Diese Knoten repraesentiert eine Index-Referenz auf ein Feature
-Attribut
im Operatorbaum. Da es sich dabei um eine Konstante handelt, hat der Knoten
keine Kind-Knoten. Die Referenz wird durch den Attribut-Namen (String
)
dargestellt.
- Version:
- 1.0
- Author:
- Martin Schmitz (University of Bonn/Germany)
Method Summary |
void |
setChild(int i,
TreeNode<Integer> child)
Macht nichts, da AttributeIndexReferenceNode immer einen Blatt-Knoten
darstellt. |
Methods inherited from class schmitzm.lang.tree.BinaryTreeNode |
checkNode, getChild, getChildCount, getLeftChild, getObjectsInorder, getObjectsPostorder, getObjectsPreorder, getParent, getRightChild, getRoot, isLeaf, setLeftChild, setRightChild |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
FeatureOperationTree.AttributeIndexReferenceNode
public FeatureOperationTree.AttributeIndexReferenceNode(int attrIdx,
BinaryTreeNode parent)
- Erzeugt einen neuen Referenz-Knoten
- Parameters:
attrIdx
- Attribut-Index (beginnend bei 0)parent
- Vater-Knoten
FeatureOperationTree.AttributeIndexReferenceNode
public FeatureOperationTree.AttributeIndexReferenceNode(int attrIdx)
- Erzeugt einen neuen Referenz-Knoten
- Parameters:
attrIdx
- Attribut-Index (beginnend bei 0)
setChild
public void setChild(int i,
TreeNode<Integer> child)
- Macht nichts, da
AttributeIndexReferenceNode
immer einen Blatt-Knoten
darstellt.
- Overrides:
setChild
in class BinaryTreeNode<Integer>
- Parameters:
i
- Index (beginnend bei 0)child
- neuer Kind-Knoten