查看报错原因
Line 6: error: incompatible types: cannot infer type arguments for PriorityQueue<>
reason: cannot infer type-variable(s) E
(argument mismatch; bad return type in lambda expression
possible lossy conversion from long to int)
where E is a type-variable:
E extends Object declared in class PriorityQueue