question: private static Collector < SegmentInfo , ? , Map < String , SegmentInfo > > partitionsToMapCollector ( ) { return Collector . of ( null , null , null ) ; }
target:  A collector to aggregate all partitions of a segment into a map.