public < T2 extends T > void incrementAll ( Counter < T2 > other ) { for ( T2 element : other . keySet ( ) ) { double cnt = other . getCount ( element ) ; incrementCount ( element , cnt ) ; } }
This method will increment counts of this counter by counts from other counter