title: How to get all element of a bucket in HashMap
body: <p>As we know HashMap keep all data in buckets(calculate bucket location on basis of hashCode()).</p>
  
  <p>is there any way to get all element of bucket (<strong>without iterating whole bucket</strong>)</p>
  
  <p>like</p>
  
  <pre><code>my hashCode()  method generates hashcode like (**bkt1,bkt2,bkt3 and bkt4**)
  in **bkt1** we have values like (**val1,val2,val3 and val4**)
  in **bkt2** we have values like ( **val5,val6 and val7**)
  and so on ....
  </code></pre>
  
  <p>can i get all values of bucket bkt1 <strong>without iterating whole map</strong></p>