protected static final class Figure.IdentitySearch extends java.lang.Object implements TreeSearch
Modifier and Type | Field and Description |
---|---|
static TreeSearch |
INSTANCE
The singleton instance.
|
public static final TreeSearch INSTANCE
public boolean accept(IFigure f)
true
.accept
in interface TreeSearch
f
- the current figure in the traversaltrue
if the figure is acceptedTreeSearch.accept(IFigure)
public boolean prune(IFigure f)
false
.prune
in interface TreeSearch
f
- the current figure in the traversaltrue
if the subgraph should be prunedTreeSearch.prune(IFigure)
Copyright (c) IBM Corp. and others 2000, 2011. All Rights Reserved.