storeParam(prarm);
}
ArrayList<Pair<DICOMDataDump, Element>> target = new ArrayList<Pair<DICOMDataDump, Element>>();
for (int i = 0; i < list.size(); i++) {
DICOMChekup chekup = list.get(i);
Pair<DICOMDataDump, Element> cur = null;
for (Pair<DICOMDataDump, Element> pair : target) {
if (pair.first == chekup.getOriginalData()){
cur = pair;
}
}
if (cur == null){
cur = new Pair<DICOMDataDump, Element>();
cur.first = chekup.getOriginalData();
cur.second = new Element(DICOM_CHECKUP_XML_ROOT_NAME);
target.add(cur);
}
Element save = chekup.saveConfigToXML(DICOM_CHECKUP_XML_ITEM_NAME);
cur.second.addContent(save);
}
SelectorEditable<CheckupDICOMLocalData> sel = data.selector();
ArrayList<DICOMDataDump> deleteList = new ArrayList<DICOMDataDump>();