PriorityQueue doesn't store elements sorted. It uses heap inside. That's why calling toString() of queue won't give you elements in right ...
確定! 回上一頁