question: protected void addScalarDimension ( int i ) { for ( Dimension dimension : dimensionList ) { if ( dimension . getDimension ( ) == i ) { return ; } } dimensionList . add ( new Dimension ( i ) ) ; }
target:  Add a dimension object.