Nitpick: `isEmpty()` instead of `size() == 0`. (For a `ConcurrentLinkedQueue` this matters, because `size()` is not constant time.)