mirror of
https://github.com/TheAlgorithms/Java.git
synced 2025-07-26 14:04:17 +08:00
style: enable HideUtilityClassConstructor
in checkstyle (#5147)
This commit is contained in:
@ -24,7 +24,9 @@ class Process {
|
||||
}
|
||||
}
|
||||
|
||||
public class PreemptivePriorityScheduling {
|
||||
public final class PreemptivePriorityScheduling {
|
||||
private PreemptivePriorityScheduling() {
|
||||
}
|
||||
public static List<String> preemptivePriorityScheduling(List<Process> processes) {
|
||||
List<String> ganttChart = new ArrayList<>();
|
||||
PriorityQueue<Process> readyQueue = new PriorityQueue<>(Comparator.comparingInt(p -> - p.priority));
|
||||
|
Reference in New Issue
Block a user