Примери за използване на Associative array на Английски и техните преводи на Български
{-}
-
Colloquial
-
Official
-
Medicine
-
Ecclesiastic
-
Ecclesiastic
-
Computer
However, Python libraries are similar to JavaScript associative arrays.
Built-in syntactic support for associative arrays was introduced by SNOBOL4, under the name"table".
But a similar view of even one letter“Q” immediately creates an easily remembered associative array.
A Python dict(or dictionary)is an associative array for storing and transferring data between Python operations.
It is derived from the JavaScriptscripting language for representing simple data structures and associative arrays, called objects.
Then we review the data structure dictionary, associative array and multitude and their implementations in. NET.
In various languages, this is realized as an object, record, struct, dictionary, hash table,keyed list, or associative array.
MUMPS made multi-dimensional associative arrays, optionally persistent, its key data structure.
Associative arrays have many applications including such fundamental programming patterns as memoization and the decorator pattern.
Many programming languages include associative arrays as primitive data types, and they are available in softwar.
In different languages, it is understood as an object, a record, a struct, a dictionary, a hash table,a keyed list, or an associative array.
Python dictionaries(a form of associative array) can also be directly iterated over, when the dictionary keys are returned;
Binary search trees are a fundamental data structure used to construct more abstract data structures such as sets, multisets, and associative arrays.
Many programming languages include associative arrays as primitive data types, and they are available in software libraries for many others.
The Lua scripting language combines powerful data description constructs,which are based on extensible semantics and associative arrays, with simple procedural syntax.
Most programs using associative arrays will at some point need to store that data in a more permanent form, like in a computer file.
Web storage currently provides a better programmatic interface than cookies because it exposes an associative array data model where the keys and values are both strings.
Associative arrays can be implemented in any programming language as a package and many language systems provide them as part of their standard library.
Therefore, the information about which books are checked out to which patrons may be represented by an associative array, in which the books are the keys and the patrons are the values.
In an associative array, the association between a key and a value is often known as a"binding", and the same word"binding" may also be used to refer to the process of creating a new association.
Most modern scripting languages, starting with AWK and including Rexx, Perl, Tcl, JavaScript, Maple, Python, Ruby, Wolfram Language, Go, and Lua,support associative arrays as a primary container type.
In addition, associative arrays may also include other operations such as determining the number of bindings or constructing an iterator to loop over all the bindings.
These structures provide efficient implementations for mutable ordered lists, andcan be used for other abstract data structures such as associative arrays, priority queues and sets.
The most frequently used general purpose implementation of an associative array is with a hash table: an array of bindings, together with a hash function that maps each possible key into an array index.
The main features of the software include: visualization of models of high quality, work with cartographic services,3D associative arrays, extracting curved surfaces etc.
A multimap generalizes an associative array by allowing multiple values to be associated with a single key.[ 6] A bidirectional map is a related abstract data type in which the bindings operate in both directions: each value must be associated with a unique key, and a second lookup operation takes a value as argument and looks up the key associated with that value.
The advantages of these alternative structures come from their ability to handle operations beyond the basic ones of an associative array, such as finding the mapping whose key is the closest to a queried key, when the query is not itself present in the set of mappings.
The following example shows typical implicit iteration over a sequence: for value in sequence: print(value)Python dictionaries(a form of associative array) can also be directly iterated over, when the dictionary keys are returned; or the items method of a dictionary can be iterated over where it yields corresponding key, value pairs as a tuple: for key in dictionary: value= dictionary print(key, value) for key, value in dictionary. items(): print(key, value) Iterators however can be used and defined explicitly.