1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35
| private void combineVectors1_referring_2(int table, Vector vector0, Vector vector1,
Vector vector2, Vector vector3,Vector vector4,Vector vector5) {
int total = vector0.size();
int init = 0;
String str = (String) vector0.elementAt(0);
System.out.println("debut comb-vec");
if (str.startsWith(java.util.ResourceBundle.getBundle("pacs/resources/Strings").getString("_PATIENT'S_NAME")))
init = 1;
if (str.startsWith(java.util.ResourceBundle.getBundle("pacs/resources/Strings").getString("_STUDY_INSTANCE_UID")))
init = 1;
if (str.startsWith(java.util.ResourceBundle.getBundle("pacs/resources/Strings").getString("_NUMBER_OF_STUDY_RELATED_SERIES")))
init = 1;
if (str.startsWith(java.util.ResourceBundle.getBundle("pacs/resources/Strings").getString("_NUMBER_OF_STUDY_RELATED_INSTANCES")))
init = 1;
if (str.startsWith(java.util.ResourceBundle.getBundle("pacs/resources/Strings").getString("_MODALITY")))
init = 1;
if (str.startsWith(java.util.ResourceBundle.getBundle("pacs/resources/Strings").getString("_NUMBER_OF_SERIES_RELATED_INSTANCES")))
init = 1;
if (str.startsWith(java.util.ResourceBundle.getBundle("pacs/resources/Strings").getString("_STUDY_INSTANCE_UID")))
init = 1;
if (str.startsWith(java.util.ResourceBundle.getBundle("pacs/resources/Strings").getString("_SERIES_INSTANCE_UID")))
init = 1;
if (str.startsWith(java.util.ResourceBundle.getBundle("pacs/resources/Strings").getString("_STUDY_DESCRIPTION")))
init = 1;
for (int i = init; i < total; i++) {
Vector vector = new Vector();
vector.addElement(vector0.elementAt(i));
vector.addElement(vector1.elementAt(i));
vector.addElement(vector5.elementAt(i));
vector.addElement(vector2.elementAt(i));
vector.addElement(vector3.elementAt(i));
vector.addElement(vector4.elementAt(i));
toTable(table, vector);
}
} |
Partager