結果 : how is priority queue implemented in java