protected List < ExpandDataTrunk > getExpansionBranches ( final Collection < String > expansionNames ) { if ( expansionNames != null ) { final List < ExpandDataTrunk > expandDataTrunks = new ArrayList < ExpandDataTrunk > ( ) ; for ( final String subExpansionName : expansionNames ) { expandDataTrunks . add ( new ExpandDataTrunk ( new ExpandDataDetails ( subExpansionName ) ) ) ; } return expandDataTrunks ; } return null ; }
Get a list of expansion branches created from a list of names .