1 Reply Latest reply: May 1, 2013 1:54 PM by jtahlborn RSS

    How HashMap get() works in O(1)?

    783105
      Hi All,

      I know how HashMap works in but I would like to know, how java create bucket using hashcode() method and how it retrieves data in O(1).

      Thanks,
      Shivlakhan Patel