0);
for (Iterator iterator = AND.getTerms().iterator(); iterator.hasNext();) {
AndCompositeAssertion nAND = new AndCompositeAssertion();
PrimitiveAssertion pa = (PrimitiveAssertion) iterator.next();
String namespace = pa.getName().getNamespaceURI();
nAND.addTerm(pa);
while (iterator.hasNext()) {
pa = (PrimitiveAssertion) iterator.next();
if (namespace.equals(pa.getName().getNamespaceURI())) {
nAND.addTerm(pa);
}
}
map.put(namespace, nAND);