From c4cbb185efce1228c05b3ff79687ad6da482c192 Mon Sep 17 00:00:00 2001 From: CMM <2198256324@qq.com> Date: Mon, 21 Aug 2023 15:46:29 +0800 Subject: [PATCH] =?UTF-8?q?=E7=BB=A9=E6=95=88=E8=AF=84=E4=BB=B7-=E5=BE=85?= =?UTF-8?q?=E6=B7=BB=E5=8A=A0=E5=BA=94=E7=94=A8=E5=88=97=E8=A1=A8=E5=BA=94?= =?UTF-8?q?=E7=94=A8=E5=90=8D=E7=A7=B0=E4=BF=AE=E6=94=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../ningdatech/pmapi/performance/manage/ReAppraisalManage.java | 10 ---------- 1 file changed, 10 deletions(-) diff --git a/pmapi/src/main/java/com/ningdatech/pmapi/performance/manage/ReAppraisalManage.java b/pmapi/src/main/java/com/ningdatech/pmapi/performance/manage/ReAppraisalManage.java index 6900e8f..fbc2ac2 100644 --- a/pmapi/src/main/java/com/ningdatech/pmapi/performance/manage/ReAppraisalManage.java +++ b/pmapi/src/main/java/com/ningdatech/pmapi/performance/manage/ReAppraisalManage.java @@ -490,14 +490,4 @@ public class ReAppraisalManage { throw new BizException(e.getMessage()); } } - - public static void main(String[] args) { - Integer lastCount = 2; - List accidents = Lists.newArrayList(1, 2, 3, 4, 5, 6, 7, 8, 9, 10); - List accidentList = accidents.stream() - .skip(lastCount) - .limit(accidents.size() - lastCount) - .collect(Collectors.toList()); - System.out.println(accidentList); - } }