Code example for PriorityBlockingQueue

0
	 * @return 
	 */ 
	public static <E> PriorityBlockingQueue<E> createQueue(@Nonnegative final int capacity,
			@Nonnull final Comparator<? super E> comparator)
	{ 
		return new PriorityBlockingQueue<E>(capacity, comparator);
	} 
 
} 
Stop searching for code, let great code find you!  Add Codota to your java IDE