mirror of
https://github.com/TheAlgorithms/Java.git
synced 2025-07-07 17:56:02 +08:00
chnages
This commit is contained in:
@ -31,8 +31,8 @@ class Schedule {
|
|||||||
processes = new ArrayList<Process>();
|
processes = new ArrayList<Process>();
|
||||||
remainingProcess = new ArrayList<Process>();
|
remainingProcess = new ArrayList<Process>();
|
||||||
|
|
||||||
gantChart = new ArrayList<Integer>();
|
gantChart = new ArrayList<>();
|
||||||
arrivals = new HashMap<Integer, ArrayList<Process>>();
|
arrivals = new HashMap<>();
|
||||||
|
|
||||||
System.out.print("Enter the no. of processes: ");
|
System.out.print("Enter the no. of processes: ");
|
||||||
noOfProcess = in.nextInt();
|
noOfProcess = in.nextInt();
|
||||||
|
Reference in New Issue
Block a user