Top "Associative-array" questions

An associative array is an abstract data type composed of a collection of unique keys mapped to a collection of values.

How to create an associative array in JavaScript literal notation

I understand that there are no associative arrays in JavaScript, only objects. However I can create an array with string …

javascript arrays associative-array
Union of dict objects in Python

How do you calculate the union of two dict objects in Python, where a (key, value) pair is present in …

python dictionary associative-array idioms set-operations
What is the easiest way to handle associative array in c#?

I do not have a lot of experience with C#, yet I am used of working with associative arrays in …

c# associative-array
What's the difference between pls_integer and binary_integer?

I've inherited some code which is going to be the base for some additional work. Looking at the stored procs, …

oracle plsql oracle10g associative-array
Read associative array from json in $_POST

I am using jQuery to post a json object to my php application. jQuery.post("save.php",JSON.stringify(dataToSend), …

php json post http-post associative-array
Hash tables VS associative arrays

Recently I have read about hash-tables in a very famous book "Introduction to Algorithms". I haven't used them in any …

php hashtable associative-array
PHP: Printing Associative Array

In PHP, I have an associative array like this $a = array('who' => 'one', 'are' => 'two', 'you' => 'three'); …

php associative-array
How do you initialize a map which takes a struct as value?

I am using a map as an associative array of IDs -> value, where the value is a struct …

c++ map struct initialization associative-array
PHP: Get n-th item of an associative array

If you have an associative array: Array ( [uid] => Marvelous [status] => 1 [set_later] => Array ( [0] => 1 [1] => 0 ) [op] => …

php associative-array
PHP prepend associative array with literal keys?

Is it possible to prepend an associative array with literal key=>value pairs? I know that array_unshift() works …

php arrays associative-array