数组:
String[] my_array = { "T","k","z"};
AtomicInteger my_index = new AtomicInteger();
Arrays.stream(my_array).filter(str->my_index.getAndIncrement()+1==1).map(str -> my_index.getAndIncrement() + " -> " + str).forEach(System.out::println);
Arrays.stream(my_array).filter(str->my_index.getAndIncrement()+1==1).forEach(str->System.out.println(str));
集合
inspectionTestRecords.stream().filter(str->currentIndex.getAndIncrement()+1==1).forEach()