Iterator<Tuple> it1 = field1.iterator();
checkInBag(field2, it1, output);
Iterator<Tuple> it2 = field2.iterator();
checkInBag(field1, it2, output);
} else {
DataAtom d1 = input.getAtomField(0);
DataAtom d2 = input.getAtomField(1);
if (!d1.equals(d2)) {
output.add(new Tuple(d1));
output.add(new Tuple(d2));
}
}