Java ArrayDeque Create newArrayDeque(int initSize)

Here you can find the source of newArrayDeque(int initSize)

Description

new Array Deque

License

Apache License

Declaration

public static <E> ArrayDeque<E> newArrayDeque(int initSize) 

Method Source Code


//package com.java2s;
//License from project: Apache License 

import java.util.ArrayDeque;

public class Main {

    public static <E> ArrayDeque<E> newArrayDeque(int initSize) {
        return new ArrayDeque<E>(initSize);
    }/*from w  w w .ja  va  2 s  .  c o m*/
}

Related

  1. createArrayDeque()
  2. newArrayDeque()