/** * Return true is the specified net dependency matches ALL of the specified match policies, otherwise returns false. * * @param netDependency the net dependency to match * @param matchPolicies the match policies to use in matching the net dependency * @return true is the specified net dependency matches ALL of the specified match policies, otherwise returns false */ private boolean isMatch( NetDependency netDependency, List<NetDependencyMatchPolicy> matchPolicies ) { for ( NetDependencyMatchPolicy matchPolicy : matchPolicies ) { if ( !matchPolicy.match( netDependency ) ) { return false; } } return true; }