Java tutorial
//package com.java2s; import java.util.LinkedList; import java.util.Queue; public class Main { public static <T> Queue<T> queue() { return new LinkedList<T>(); } }