return false;
}
List otherMarkingsLocations = new Vector(((YMarking) marking).getLocations());
List myLocations = new Vector(_locations);
for (Iterator iterator = myLocations.iterator(); iterator.hasNext();) {
YExternalNetElement netElement = (YExternalNetElement) iterator.next();
if (otherMarkingsLocations.contains(netElement)) {
otherMarkingsLocations.remove(netElement);
} else {
return false;
}