Java ArrayBlockingQueue newArrayBlockingQueue(int capacity)

Here you can find the source of newArrayBlockingQueue(int capacity)

Description

new Array Blocking Queue

License

Apache License

Declaration

public static <E> ArrayBlockingQueue<E> newArrayBlockingQueue(int capacity) 

Method Source Code

//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*/
}

Related

  1. createUniqueHelperParamQueue(String uniqueQueueName, int size)
  2. getArrayBlockingQueue(final Object o, final Class clazz, final int capacity)
  3. getParameterQueueSize(String queueName)
  4. newArrayBlockingQueue()
  5. newArrayBlockingQueue(final int capacity)