結果 : how to iterate priority queue in java