From cd94d8f9c173aea4ef0febbdea3be39b674af7ea Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=91=A8=E6=BE=B3=E5=B9=B3?= Date: Mon, 27 Mar 2023 15:08:53 +0800 Subject: [PATCH] =?UTF-8?q?=E5=8F=98=E5=8A=A8=EF=BC=9A=201=E3=80=81?= =?UTF-8?q?=E6=96=B0=E5=BB=BA=E6=B5=8B=E8=AF=95=E7=B1=BB?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../com/mycarinsurance/www/test/Test1.java | 23 +++++++++++++++++++ 1 file changed, 23 insertions(+) create mode 100644 customer-management/src/main/java/com/mycarinsurance/www/test/Test1.java diff --git a/customer-management/src/main/java/com/mycarinsurance/www/test/Test1.java b/customer-management/src/main/java/com/mycarinsurance/www/test/Test1.java new file mode 100644 index 0000000..cb6860c --- /dev/null +++ b/customer-management/src/main/java/com/mycarinsurance/www/test/Test1.java @@ -0,0 +1,23 @@ +package com.mycarinsurance.www.test; + +import java.util.LinkedList; + +/** + * description : + * + * @author 周澳平 + * date : 2023-03-27 15:04 + */ +public class Test1 { + public static void main(String[] args) { + LinkedList queue = new LinkedList(); + + queue.addLast("1"); + queue.addLast("2"); + queue.addLast("3"); + + System.out.println(queue.pollFirst()); + System.out.println(queue.pollFirst()); + System.out.println(queue.pollFirst()); + } +} -- 2.22.0