@Override
                @SuppressWarnings("java:S2272")
                public Map<String, List<ChunkMetadata>> next() {
                  return Collections.emptyMap();
                }
collect the modification for current device and apply it to the alignedChunkMetadataList.

@param tsFileResource tsfile resource
@param alignedChunkMetadataList list of aligned chunk metadata
iotdb-core/datanode/src/main/java/org/apache/iotdb/db/storageengine/dataregion/compaction/execute/utils/MultiTsFileDeviceIterator.java