Java Queue Create getQueue()

Here you can find the source of getQueue()

Description

get Queue

License

Open Source License

Declaration

public static <E> Queue<E> getQueue() 

Method Source Code

//package com.java2s;

import java.util.LinkedList;

import java.util.Queue;

public class Main {

    public static <E> Queue<E> getQueue() {
        return new LinkedList<E>();
    }//  w ww  .j  a  va 2 s  .c o m
}

Related

  1. getArrayQueue()
  2. toQueue(T[] array)