On Aug 9, 1:30 am, JKid314159 <happy27...@yahoo.com> wrote:
> Dear Java Programmer:
>  
> I have the following code:
>  
>  HashSet hs = new HashSet(5, 0.5f);
>
> There is a constructor which initializes the hash set to initial capacity of 
> 5 and a load factor of ?
>  
> I do not understand "0.5f"?
This is the way a float number is represented. See
http://java.sun.com/j2se/1.5.0/docs/api/java/util/HashMap.html for
explanation about load factor?
>  
> Also, I understand what a bucket sort is but not too sure what a "backing 
> map" is
This the map on which the hashmap is built (back synonym of support),
also you may consider the map as an auxiliary to the hashmap.

--~--~---------~--~----~------------~-------~--~----~
To post to this group, send email to javaprogrammingwithpassion@googlegroups.com
To unsubscribe from this group, send email to 
javaprogrammingwithpassion-unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/javaprogrammingwithpassion?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to