It works for me for some reason.
In order to test ArrayQueue, I’ve picked 2 old sketches using container ArrayDeque as a Queue:
Docs.Oracle.com/en/java/javase/11/docs/api/java.base/java/util/ArrayDeque.html
And then replaced that w/ my own ArrayQueue, and both sketches were still perfectly OK:
1 Like