Max Head Java

PriorityQueue<Integer> prq = new PriorityQueue<>((a,b)->b-a);
AJ