We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 203f006 commit 7fc41e8Copy full SHA for 7fc41e8
Others/SJF.java
@@ -31,8 +31,8 @@ class Schedule {
31
processes = new ArrayList<Process>();
32
remainingProcess = new ArrayList<Process>();
33
34
- gantChart = new ArrayList<Integer>();
35
- arrivals = new HashMap<Integer, ArrayList<Process>>();
+ gantChart = new ArrayList<>();
+ arrivals = new HashMap<>();
36
37
System.out.print("Enter the no. of processes: ");
38
noOfProcess = in.nextInt();
0 commit comments