base/common/src/main/com/thesett/common/util/queues/Queues.java
public static <E extends Sizeable> SizeableQueue<E> getAtomicCountedSizeableQueue(java.util.Queue<E> queue)
    {
        return new WrapperQueue<E>(queue, new LinkedList<E>(), false, true, true);
    }
public static <E extends Sizeable> SizeableQueue<E> getAtomicCountedSizeableQueue(java.util.Queue<E> queue)
    {
        return new WrapperQueue<E>(queue, new LinkedList<E>(), false, true, true);
    }
public static < E extends Sizeable > SizeableQueue < E > getAtomicCountedSizeableQueue ( java . util . Queue < E > queue ) { return new WrapperQueue < E > ( queue , new LinkedList < E > ( ) , false , true , true ) ; }
Wraps queue as a sizeable, atomically counted queue, as per the {@link #getSizeableQueue} and
{@link #getAtomicCountedQueue} methods.

@param  queue The queue to provide atomic counting and sizing of.
@param  <E>   The type of queue element.

@return An atomicically counted, sizeable queue.
Wraps queue as a sizeable atomically counted queue as per the { @link #getSizeableQueue } and { @link #getAtomicCountedQueue } methods .