private static void addDocTypeDecisionDataRows ( final SankeyChart chart , final Entry < String , List < ProposalCommitteeeSummary > > entry ) { final Map < String , List < ProposalCommitteeeSummary > > docTypeMap = entry . getValue ( ) . stream ( ) . collect ( Collectors . groupingBy ( ProposalCommitteeeSummary :: getDocType ) ) ; for ( final Entry < String , List < ProposalCommitteeeSummary > > docEntry : docTypeMap . entrySet ( ) ) { final Map < String , List < ProposalCommitteeeSummary > > decisionMap = docEntry . getValue ( ) . stream ( ) . collect ( Collectors . groupingBy ( ProposalCommitteeeSummary :: getDecision ) ) ; for ( final Entry < String , List < ProposalCommitteeeSummary > > decisionEntry : decisionMap . entrySet ( ) ) { if ( decisionEntry . getKey ( ) . length ( ) > 0 && entry . getKey ( ) . length ( ) > 0 ) { chart . addDataRow ( docEntry . getKey ( ) , decisionEntry . getKey ( ) , decisionEntry . getValue ( ) . size ( ) ) ; } } } }
Adds the doc type decision data rows .