biz.hammurapi.mesopotamia.lang.javax
Interface DependencyVisitor<T>


public interface DependencyVisitor<T>

Instances of this interface are used to traverse dependencies.

Author:
Pavel

Method Summary
 boolean visit(T target, int distance, double strength)
          Visits dependency (client or supplier, depending on context).
 

Method Detail

visit

boolean visit(T target,
              int distance,
              double strength)
Visits dependency (client or supplier, depending on context).

Parameters:
target - Client or supplier.
distance - Distance between the originating object and the target.
strength - Dependency strength.
Returns:
False if the visitor is not interested in further navigation.


Copyright © 2008 Hammurapi Group. All Rights Reserved.