Skip to content

Commit 93a5772

Browse files
committed
Day2 Sprint1
1 parent 876d028 commit 93a5772

File tree

4 files changed

+10
-2
lines changed

4 files changed

+10
-2
lines changed

Vishal Mawani/Sprint 1/HealthCareSystem/src/main/java/com/capgemini/healthcaresystem/dao/TestDao.java

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@
88

99
import java.util.ArrayList;
1010
import java.util.List;
11+
import java.util.Map.Entry;
1112

1213
public class TestDao {
1314

@@ -16,6 +17,13 @@ public class TestDao {
1617

1718
public String addTestDao(Test test) {
1819

20+
/* for (Entry<String, List<Test>> entry : centerIdTestListMap.entrySet()) {
21+
String key = entry.getKey();
22+
List<Test> values = entry.getValue();
23+
System.out.println("Key = " + key);
24+
System.out.println("Values = " + values.add(obj));
25+
System.out.println("Values = " + values.get(3).getTestName());
26+
}*/
1927
//System.out.println(testRepositoryObject.getCenterIdTestListMap().computeIfPresent(userEnteredCenterIdDao(),(k,v)->v.add(test)));
2028
return null;
2129
}

Vishal Mawani/Sprint 1/HealthCareSystem/src/main/java/com/capgemini/healthcaresystem/util/TestRepository.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -105,13 +105,13 @@ public static void main(String arg[]) {
105105
object.makeTestList();
106106
System.out.println(centerIdCenterNameMap);
107107
// System.out.println(centerIdTestListMap);
108-
for (Entry<String, List<Test>> entry : centerIdTestListMap.entrySet()) {
108+
/*for (Entry<String, List<Test>> entry : centerIdTestListMap.entrySet()) {
109109
String key = entry.getKey();
110110
List<Test> values = entry.getValue();
111111
System.out.println("Key = " + key);
112112
System.out.println("Values = " + values.add(obj));
113113
System.out.println("Values = " + values.get(3).getTestName());
114-
}
114+
}*/
115115

116116

117117
}
0 Bytes
Binary file not shown.
-1.04 KB
Binary file not shown.

0 commit comments

Comments
 (0)