Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...

How to decrease number of hashings in has

Answer Posted / gajendra

Specifying the initial capacity and load factor at the time
of declaration of Hashtable/HashMap will decrease the
number of hashings.

Hashtable ht=new Hashtable(15,0.75);

Is This Answer Correct ?    3 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is meant by final class?

1047


whar are the draw backs of programming lang step by step in Clang and next in C++ and next and in Java nad in .Net

2071


What is the primitive type short?

986


what is aggregation in java?

965


What is the escape character in java?

941


What is int lol?

1103


What are the differences between abstract class and interface?

1012


What is the significance of listiterator?

1039


What is data member in java?

981


how do I create a runnable with inheritance? : Java thread

954


Can a class be a super class and a sub-class at the same time? Give example.

1491


What are the types of inner classes (non-static nested class) used in java?

1026


Which is easier netbeans or eclipse?

1030


What carriage return means?

925


Which of the following is not an isolation level in the JDBC

2092