title: Make longitude and latitude as Key of HashMap in Java
body: <p>I have data like this: </p>
  
  <pre><code>23.3445556 72.4535455 0.23434
  23.3645556 72.4235455 0.53434
  23.3245556 72.4635455 0.21434
  23.3645556 72.2535455 0.25434
  </code></pre>
  
  <p>I want to make <code>HashMap</code> like this:</p>
  
  <pre><code>HashMap&lt;23.34444,72.23455,0.2345566&gt; demo = new HashMap()
  </code></pre>
  
  <p>Here <code>23.34444,72.23455</code> is a key and <code>0.2345566</code> is value. </p>
  
  <p>This is because I want to traverse <code>HashMap</code> like this:</p>
  
  <pre><code>if(demo.latitude &lt; 21.45454545 &amp;&amp; demo.longitude &gt; 72.3455)
      //get the value from hashMap   
  </code></pre>
  
  <p>long lat repn particular pixel on the map,each pixel have same value , i want to get avg value from particular area suppose x y and pixel will be upto 1 million </p>
  
  <ul>
  <li>And i want to know does this is good way since daily it will get millions hit </li>
  </ul>