Top "Hashtable" questions

A hash table in programming is a collection that uses a hash function to map identifying values (keys) to their associated values.

What are the differences between a HashMap and a Hashtable in Java?

What are the differences between a HashMap and a Hashtable in Java? Which is more efficient for non-threaded applications?

java collections hashmap hashtable
How to do associative array/hashing in JavaScript

I need to store some statistics using JavaScript in a way like I'd do it in C#: Dictionary<string, …

javascript dictionary hashtable
How to define hash tables in Bash?

What is the equivalent of Python dictionaries but in Bash (should work across OS X and Linux).

bash dictionary hashtable associative-array
What happens when a duplicate key is put into a HashMap?

If I pass the same key multiple times to HashMap’s put method, what happens to the original value? And …

java hashmap hashtable
Good Hash Function for Strings

I'm trying to think up a good hash function for strings. And I was thinking it might be a good …

java hash hashtable hashcode
How does a hash table work?

I'm looking for an explanation of how a hash table works - in plain English for a simpleton like me! …

data-structures hash hashtable modulo
How do I encode a JavaScript object as JSON?

Is there a good way to encode a JavaScript object as JSON? I have a list of key value pairs...…

javascript jquery json checkbox hashtable
hash function for string

I'm working on hash table in C language and I'm testing hash function for string. The first function I've tried …

c algorithm hash dictionary hashtable
Looping through a hash, or using an array in PowerShell

I'm using this (simplified) chunk of code to extract a set of tables from SQL Server with BCP. $OutputDirectory = "c:\…

powershell dictionary hashtable
Associative arrays in Shell scripts

We required a script that simulates Associative arrays or Map like data structure for Shell Scripting, any body?

bash shell hashtable associative-array