public interface SeenSet<E>
extends java.util.Set<E>
Modifier and Type | Method and Description |
---|---|
boolean |
see(E element,
boolean recursive)
Manage a "seen" set for avoiding infinite recursion.
|
boolean see(E element, boolean recursive)
o
- is the object visitedrecursive
- is whether infinite recursion is possible