public abstract class AbstractView<N> extends Object implements View<N>
Constructor and Description |
---|
AbstractView(Tree<N> pTree) |
Modifier and Type | Method and Description |
---|---|
View<N> |
exclude(View<N> view)
Return a new view which contains all the items in this view minus any items
in the specified view.
|
Tree<N> |
getTree()
Returns the
Tree from which this View was created. |
View<N> |
include(View<N> view)
Return a new view which contains all the items in this view plus any items
in the specified view.
|
Iterator<N> |
iterator() |
Relationships<N> |
relationships(N pBaseNode,
N pCurrentNode)
Return a Relationships object which identifies the relationship between two objects in the tree.
|
Walker<N> |
walker()
Return Walker to traverse the originating tree, traversing only the items in the view.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
isItemInView
forEach, spliterator
public View<N> include(View<N> view)
View
public View<N> exclude(View<N> view)
View
public Tree<N> getTree()
View
Tree
from which this View
was created.public Walker<N> walker()
View
public Relationships<N> relationships(N pBaseNode, N pCurrentNode)
View
relationships
in interface View<N>
pBaseNode
- the base nodepCurrentNode
- the current node© 1998- 2021 Escenic AS