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
-
Method Summary
Modifier and TypeMethodDescriptionboolean
alreadyVisited
(T visitable) void
registerVisit
(T visitable)
-
Constructor Details
-
SmartVisitationImpl
public SmartVisitationImpl()
-
-
Method Details
-
alreadyVisited
- Specified by:
alreadyVisited
in interfaceSmartVisitation<T extends SmartVisitable<T>>
-
registerVisit
- Specified by:
registerVisit
in interfaceSmartVisitation<T extends SmartVisitable<T>>
-