Przeglądaj źródła

绩效评价-待添加应用列表应用名称修改

tags/24080901
CMM 1 rok temu
rodzic
commit
c4cbb185ef
1 zmienionych plików z 0 dodań i 10 usunięć
  1. +0
    -10
      pmapi/src/main/java/com/ningdatech/pmapi/performance/manage/ReAppraisalManage.java

+ 0
- 10
pmapi/src/main/java/com/ningdatech/pmapi/performance/manage/ReAppraisalManage.java Wyświetl plik

@@ -490,14 +490,4 @@ public class ReAppraisalManage {
throw new BizException(e.getMessage());
}
}

public static void main(String[] args) {
Integer lastCount = 2;
List<Integer> accidents = Lists.newArrayList(1, 2, 3, 4, 5, 6, 7, 8, 9, 10);
List<Integer> accidentList = accidents.stream()
.skip(lastCount)
.limit(accidents.size() - lastCount)
.collect(Collectors.toList());
System.out.println(accidentList);
}
}

Ładowanie…
Anuluj
Zapisz