Search code examples
javacollectionsconcurrencyqueuecircular-buffer

Is there non-concurrent (other than ArrayBlockingQueue) standard implementation of cyclic queue?


Is there a standard fast Java queue/circular-buffer structure like ArrayBlockingQueue, backed by an array, but without any concurrency synchronisation overhead?


Solution

  • Yes, there is, and it's called ArrayDeque