/* interfaces before modification */
List<String> oldNames = new ArrayList<String>();
/* Names of interfaces before modification */
for (int i = 0; i < old.size(); i++) {
Interface intf = old.get(i);
oldNames.add(intf.getName());
if (intfs.contains(intf.getName())) {
remainingInterfaces.add(intf);
}
}
List<String> newInterfaces = new ArrayList<String>();