// 身長体重ともある場合
if (listH != null && listW != null) {
for (int i = 0; i < listH.size(); i++) {
PhysicalModel h = (PhysicalModel) listH.get(i);
String memo = h.getMemo();
if (memo == null) {
memo = h.getIdentifiedDate();
}
//
// 体重のメモが一致するものを見つける
//
Object found = null;
for (int j = 0; j < listW.size(); j++) {
PhysicalModel w = (PhysicalModel) listW.get(j);
String memo2 = w.getMemo();
if (memo2 == null) {
memo2 = w.getIdentifiedDate();
}
if (memo2.equals(memo)) {
found = w;
PhysicalModel m = new PhysicalModel();
m.setHeightId(h.getHeightId());
m.setHeight(h.getHeight());
m.setWeightId(w.getWeightId());
m.setWeight(w.getWeight());
m.setIdentifiedDate(h.getIdentifiedDate());
m.setMemo(memo);
list.add(m);
break;
}
}