Is there a way to mimic creating multiple queues like this but with priority queue?
This is what i have but i want to now use a priority queue.
I tried this but it doesnt work.
It wont compile? What am i doing wrong?