Expanding The Queue interface: Relaxed Queue Access

from blog Psychosomatic, Lobotomy, Saw, | ↗ original
Continuing from previous post on the expansion of the Queue interface to support new ways of interacting with queues I have gone ahead and implemented relaxedOffer/Poll/Peek for the JCTools queues. This was pretty easy as the original algorithms all required a bit of mangling to support the strong semantic and relaxing it made life easier....