public interface TreeSearch
| Modifier and Type | Method and Description |
|---|---|
boolean |
accept(IFigure figure)
Returns
true if the given figure is accepted by the search. |
boolean |
prune(IFigure figure)
Returns
true if the figure and all of its contained figures
should be pruned from the search. |
boolean accept(IFigure figure)
true if the given figure is accepted by the search.figure - the current figure in the traversaltrue if the figure is acceptedboolean prune(IFigure figure)
true if the figure and all of its contained figures
should be pruned from the search.figure - the current figure in the traversaltrue if the subgraph should be prunedCopyright (c) IBM Corp. and others 2000, 2011. All Rights Reserved.