From 2ea18ec506e7c1733e13eb958f9ff891ba881440 Mon Sep 17 00:00:00 2001 From: IT-xiaoXiong <774495953@qq.com> Date: Fri, 3 Dec 2021 15:57:31 +0800 Subject: [PATCH] =?UTF-8?q?=E5=90=88=E5=B9=B6=E5=86=B2=E7=AA=81=E6=96=87?= =?UTF-8?q?=E4=BB=B6?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- customization/test/NewUtilTest.java | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) diff --git a/customization/test/NewUtilTest.java b/customization/test/NewUtilTest.java index 79b484b..46922c9 100644 --- a/customization/test/NewUtilTest.java +++ b/customization/test/NewUtilTest.java @@ -338,6 +338,23 @@ public class NewUtilTest { } + @Test + public void testSplic(){ + List list = new ArrayList<>(); + list.add(0); + list.add(1); + list.add(2); + list.add(3); + list.add(4); + list.add(5); + list.add(6); + System.out.println(list); + System.out.println(list.subList(0,2)); + list.removeAll(list.subList(0,2)); + System.out.println(list); + } + + @Test public void test() { String bizContent = "{\"contractExtension\":\".pdf\",\"contractTitle\":\"PCN Template - Non-Disclosure Agreement (Corporate).pdf\",\"uploadType\":1,\"customerNo\":\"ecef845ba95a409393cb66271a41b0a6\"}";