Here you can find the source of newArrayBlockingQueue(int capacity)
public static <E> ArrayBlockingQueue<E> newArrayBlockingQueue(int capacity)
//package com.java2s; //License from project: Apache License import java.util.concurrent.ArrayBlockingQueue; public class Main { public static <E> ArrayBlockingQueue<E> newArrayBlockingQueue(int capacity) { return new ArrayBlockingQueue<E>(capacity); }/* w w w . j a v a 2 s . c o m*/ }