Class AbstractComparableNode<T>
java.lang.Object
de.hsh.graja.regression.treecompare.AbstractComparableNode<T>
- All Implemented Interfaces:
ComparableNode,Iterable<ComparableNode>
- Direct Known Subclasses:
ContentNode
-
Field Summary
Fields inherited from interface de.hsh.graja.regression.treecompare.ComparableNode
IS_ROOT -
Constructor Summary
ConstructorsConstructorDescriptionAbstractComparableNode(T value) AbstractComparableNode(T value, ComparableNode... children) AbstractComparableNode(T value, List<ComparableNode> children) -
Method Summary
Modifier and TypeMethodDescriptionfinal intfinal ComparableNodegetChild(int position) getValue()iterator()final intfinal voidsetPositionOfChildInParent(int position) Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface de.hsh.graja.regression.treecompare.ComparableNode
containsPath, isLeaf, isRoot, nodeRepresentation, queryMethods inherited from interface java.lang.Iterable
forEach, spliterator
-
Constructor Details
-
AbstractComparableNode
-
AbstractComparableNode
-
AbstractComparableNode
-
-
Method Details
-
getValue
-
childCount
public final int childCount()- Specified by:
childCountin interfaceComparableNode
-
positionInParent
public final int positionInParent()- Specified by:
positionInParentin interfaceComparableNode
-
setPositionOfChildInParent
public final void setPositionOfChildInParent(int position) - Specified by:
setPositionOfChildInParentin interfaceComparableNode
-
getChild
- Specified by:
getChildin interfaceComparableNode
-
iterator
-