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 object slice?

2057


What environment variables are required to be set on a machine in order to run Java programs?

1175


java Technical questions asked by JPMC

5055


What are the features in java?

1059


When should you make a function static?

969


Can a class extend 2 classes in java?

1022


What are the object and class classes used for?

1029


In the below example, how many string objects are created?

1032


Why are arrays useful in java?

1007


Explain the importance of finally over return statement?

1028


Can we sort a map in java?

1017


Can a boolean be null java?

957


What is hash in java?

943


What is the static import?

1080


What is a key in java?

965