Queue<Integer> queue = new LinkedList();
插入 offer(e) 超长不添加返回false
删除 poll() null
查询 peek() null
插入 add(e) IllegalStateException: Queue full
删除 remove() NoSuchElementException if this queue is empty
查询 element() NoSuchElementException if this queue is empty
Further Reading :Java Queue – Queue in Java → https://www.digitalocean.com