Question: HINT: I suggest you use the wl . visualization ( ) method from the parent class of WorkLoad to get a copy of the workload
HINT: I suggest you use the wlvisualization method from the parent class of WorkLoad to get a
copy of the workload description. I also recommend using setFlowsInDMorderand
getFlowNamesInPriorityOrder functions to create a sorted ArrayList of the flow names. Then
create a helper method that finds the line in the workload description with the flow name that matches a
specific flow name passed as an input parameter. You can then loop through the correctly sorted
ArrayList and use this helper method to find the correct line from the workload description as you print
out the flows in deadlinemonotonic order
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
