InterviewSolution
Saved Bookmarks
| 1. |
What Is Priorityblockingqueue In Java Concurrency? |
|
Answer» PriorityBlockingQueue class implements the BlockingQueue INTERFACE. The elements of the PriorityBlockingQueue are ordered according to their natural ordering, or by a COMPARATOR PROVIDED at queue construction time, depending on which of the following CONSTRUCTOR is used.
PriorityBlockingQueue class implements the BlockingQueue interface. The elements of the PriorityBlockingQueue are ordered according to their natural ordering, or by a Comparator provided at queue construction time, depending on which of the following constructor is used. |
|