title: Which is most memory efficient to store map in java?
body: <p>I have to store key value pairs in java which is more memory efficient and which is more time efficient while reading and writing directly in file?</p>
  
  <ol>
  <li>Table in guava  <code>&lt;string,double,double&gt;</code></li>
  <li>map in guava <code>&lt;string,object&gt;</code> where object contain two double values.</li>
  <li>Hashmap in java <code>&lt;string,object&gt;</code> where object contain two double values.</li>
  </ol>
  
  <p>also you can suggest some other methods.</p>