Sponsored Links


Results 1 to 2 of 2

Thread: what is hash map in java

  1. #1
    Administrator Vuhelper's Avatar
    Join Date
    Apr 2011
    Posts
    9,578

    Icon14 what is hash map in java

    Sponsored Links1



  2. #2
    Senior Member saneha's Avatar
    Join Date
    Apr 2011
    Posts
    266

    Icon19 hash map

    Hash table based implementation of the Map interface. This implementation provides all of the optional map operations, and permits null values and the null key. (The HashMap class is roughly equivalent to Hashtable, except that it is unsynchronized and permits nulls.) This class makes no guarantees as to the order of the map; in particular, it does not guarantee that the order will remain constant over time.

    This implementation provides constant-time performance for the basic operations (get and put), assuming the hash function disperses the elements properly among the buckets. Iteration over collection views requires time proportional to the "capacity" of the HashMap instance (the number of buckets) plus its size (the number of key-value mappings). Thus, it's very important not to set the initial capacity too high (or the load factor too low) if iteration performance is important.

    Sponsored Links

    Dear you can also use JDK documentation for help.

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. Replies: 0
    Last Post: 06-24-2011, 07:42 AM
  2. Replies: 0
    Last Post: 06-23-2011, 11:41 PM
  3. Java applet working or not on windows 7 Java 2011
    By Vuhelper in forum Java forum
    Replies: 0
    Last Post: 06-14-2011, 09:22 PM
  4. Java Applet Won't Load In Browser 2011 Java
    By Vuhelper in forum Java forum
    Replies: 0
    Last Post: 06-14-2011, 09:20 PM
  5. Replies: 1
    Last Post: 04-28-2011, 08:55 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
-: Vuhelp Disclaimer :-
None of the files shown here are hosted or transmitted by this server. The links are provided solely by this site's users. The administrator's or staff of Vuhelp.net cannot be held responsible for what its users post, or any other actions of its users. You may not use this site to distribute or download any material when you do not have the legal rights to do so. It is your own responsibility to adhere to these terms. If you have any doubts about legality of content or you have any suspicions, feel free to contact us.
Online Education | JhelumSoft