title: how to use the sum method in java
body: <p>I am reading in a text file with four columns of data to a <code>HashMap</code>. I want to sum the value columns. Can I get an example on using the sum method? </p>