@Override
                public boolean hasNext() {
                  return false;
                }
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