Shuffle a blocking queue in java

后端 未结 0 1921
天命终不由人
天命终不由人 2021-01-22 00:32

Does anyone know how to shuffle a blocking queue in java? By shuffle I mean randomize the order of the items in the queue.

Ive tried:

Collections.shuffle((         


        
相关标签:
回答
  • 消灭零回复
提交回复
热议问题