Package com.evolveum.midpoint.prism.impl
Class SmartVisitationImpl<T extends SmartVisitable<T>>
- java.lang.Object
-
- com.evolveum.midpoint.prism.impl.SmartVisitationImpl<T>
-
- All Implemented Interfaces:
SmartVisitation<T>
public class SmartVisitationImpl<T extends SmartVisitable<T>> extends Object implements SmartVisitation<T>
A visitation of a structure of SmartVisitables. It remembers what objects were already visited in order to avoid cycles.
-
-
Constructor Summary
Constructors Constructor Description SmartVisitationImpl()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
alreadyVisited(T visitable)
void
registerVisit(T visitable)
-
-
-
Method Detail
-
alreadyVisited
public boolean alreadyVisited(T visitable)
- Specified by:
alreadyVisited
in interfaceSmartVisitation<T extends SmartVisitable<T>>
-
registerVisit
public void registerVisit(T visitable)
- Specified by:
registerVisit
in interfaceSmartVisitation<T extends SmartVisitable<T>>
-
-