Does Java have a Queue class synchronized? I am looking for something like Vector (which is synchronized) vs ArrayList (it is not), but instead of implementing the List interface, I am looking for it to implement Queue .
Note that there is no Collections.synchronizedQueue method for migrating an unsynchronized queue and synchronizing it.
source share