question: public void multiplyAllValuesBy ( final double multiplyBy , final int RoundType ) { for ( final T t : keySet ( ) ) { double val = mapValues . get ( t ) ; switch ( RoundType ) { case 1 : val = Math . floor ( val * multiplyBy ) ; break ; case 2 : val = Math . round ( val * multiplyBy ) ; break ; case 3 : val = Math . ceil ( val * multiplyBy ) ; break ; default : val = val * multiplyBy ; break ; } put ( t , ( int ) val ) ; } }
target:  Will multiply all values by a given double. Can be used to divide all numbers, if given a fractional double (ie: to divide by 2, use 0.5 as the double)