by time0ut · 2y ago · 0 comments
Is there a reason you chose not implement java.util.Queue?
Look e.g. at the disclaimers at the size method of java.util.concurrent.ConcurrentLinkedQueue.