answersLogoWhite

0

What is hashing in Java?

Updated: 12/14/2022
User Avatar

Wiki User

16y ago

Best Answer

Creating a Integer out of an object is called hashing. Hashing is commonly used in HashTable, HashMaps and HashSet.

For instance you have

Alex

John

Peter

Hashing on each value would generate something like

123455 Alex

123344 John

123987 Peter

when put in hashtable or hashset would be quicker to find each piece of information.

There are many algorithms available with java to get the hash of an object.

User Avatar

Wiki User

16y ago
This answer is:
User Avatar

Add your answer:

Earn +20 pts
Q: What is hashing in Java?
Write your answer...
Submit
Still have questions?
magnify glass
imp
Related questions

What are different types of hashing techniques are there in DBMS?

there are 2 types of hashing techniques 1- Static hashing 2-Dynamic hashing


What is mean by PasswordUtils?

PasswordUtils is a fast, simple and lightweight utility class containing series of methods for creating, comparing, hashing, and random generating secure passwords to be stored on database or used for other purposes. It uses Java's latest built-in hashing algorithms and is independent of any other libraries.


What are the difference between static and dynamic hashing in DBMS?

Search operation in static hashing is time consuming, but in dynamic hashing it is not.


Difference between Internal hashing n external hashing?

Internal hashing mainly used for internal file, it is particularly an array of records. External hashing used for file disk


What is Homomorphic Hashing?

Homomorphic Hashing is a algorithm technique used for verifying data.


What is hashing function in data structure?

If you read up on hashing, why hashing is done, what are its uses. Then you will be able to answer your own question. More to the point you will have studied the material that your homework question is intended to make you study. It is educational.


Why do you use hashing and not array?

Hashing provides a method to search for data.Hashing provides a method to search for data.Hashing provides a method to search for data.Hashing provides a method to search for data.


Another term for an icv is?

Hashing.


Is double hashing a rehashing?

ya it it


What actors and actresses appeared in Hashing It Out - 1996?

The cast of Hashing It Out - 1996 includes: Tony Campolo as Host Bill Turpie as himself


In dbms what is indexes and hashing techniques?

kamine


What algorithm can't be reversed?

Hashing can't be reversed.