public static void createDimensionsColumnCrosstab ( final List < CrosstabDimension > crosstabDimensions , final Crosstab < Number > partialCrosstab ) { if ( partialCrosstab != null ) { final List < CrosstabDimension > dimensions = partialCrosstab . getDimensions ( ) ; for ( final CrosstabDimension dimension : dimensions ) { if ( ! dimensionExits ( crosstabDimensions , dimension ) ) { crosstabDimensions . add ( dimension ) ; } } } }
Add the croosstab dimensions to the list of dimensions