Object NodeTreeLikeAdapter
-
- All Implemented Interfaces:
-
com.github.oowekyala.treeutils.DoublyLinkedTreeLikeAdapter
,com.github.oowekyala.treeutils.TreeLikeAdapter
public class NodeTreeLikeAdapter implements DoublyLinkedTreeLikeAdapter<Node>
An adapter for baseShouldMatchSubtree.
-
-
Field Summary
Fields Modifier and Type Field Description public final static NodeTreeLikeAdapter
INSTANCE
-
Method Summary
Modifier and Type Method Description List<Node>
getChildren(Node node)
String
nodeName(Class<out Node> type)
Node
getParent(Node node)
Node
getChild(Node node, Integer index)
-
Methods inherited from class com.github.oowekyala.treeutils.TreeLikeAdapter
isLeaf, nodeName, numChildren
-
Methods inherited from class com.github.oowekyala.treeutils.DoublyLinkedTreeLikeAdapter
getChildIndex
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
-