question: private void compactGroup ( List < Segment > segments , List < OffsetPredicate > predicates , Segment compactSegment ) { for ( int i = 0 ; i < segments . size ( ) ; i ++ ) { compactSegment ( segments . get ( i ) , predicates . get ( i ) , compactSegment ) ; } }
target:  Compacts segments in a group sequentially.