A factory class for creating instances of ConcurrentQueue.
Note that a rather unusual syntax is needed for calling these methods:
ConcurrentQueueFactory.makeXXXConcurrentQueue()
This is required because the type variable V is not used in the
parameters of the factory method, so the correct type
cannot be inferred by the compiler. |