Array vs Collection - What's the difference?
array | collection | Related terms |
Clothing and ornamentation.
A collection laid out to be viewed in full.
An orderly series, arrangement or sequence.
* Prescott
Order; a regular and imposing arrangement; disposition in regular lines; hence, order of battle.
* Gibbon
A large collection.
* Byron
* {{quote-news, year=2011
, date=October 23
, author=Phil McNulty
, title=Man Utd 1 - 6 Man City
, work=BBC Sport
(programming) Any of various data structures designed to hold multiple elements of the same type; especially , a data structure that holds these elements in adjacent memory locations so that they may be retrieved using numeric indices.
(legal) A ranking or setting forth in order, by the proper officer, of a jury as impanelled in a cause; the panel itself; or the whole body of jurors summoned to attend the court.
(military) A militia.
To clothe and ornament; to adorn or attire
To lay out in an orderly arrangement; to deploy or marshal
(legal) To set in order, as a jury, for the trial of a cause; that is, to call them one at a time.
A set of items or amount of material procured or gathered together.
*
* (William Whewell)
* Dunglison
Multiple related objects associated as a group.
* , chapter=5
, title= The activity of collecting.
(topology, analysis) A set of sets.
A gathering of money for charitable or other purposes, as by passing a contribution box for donations.
(obsolete) The act of inferring or concluding from premises or observed facts; also, that which is inferred.
* (John Milton)
(UK) The jurisdiction of a collector of excise.
A set of college exams generally taken at the start of the term.
Array is a related term of collection.
As nouns the difference between array and collection
is that array is clothing and ornamentation while collection is a set of items or amount of material procured or gathered together.As a verb array
is to clothe and ornament; to adorn or attire.array
English
Noun
(en noun)- (Dryden)
- a gallant array of nobles and cavaliers
- drawn up in battle array
- wedged together in the closest array
- their long array of sapphire and of gold
- We offer a dazzling array of choices.
citation, page= , passage=Mario Balotelli, in the headlines for accidentally setting his house ablaze with fireworks, put City on their way with goals either side of the interval as United struggled to contain the array of attacking talent in front of them.}}
Usage notes
* (any of various data structures) The exact usage of the term , and of related terms, generally depends on the programming language. For example, many languages distinguish a fairly low-level "array" construct from a higher-level "list" or "vector" construct. Some languages distinguish between an "array" and a variety of "associative array"; others have only the latter concept, calling it an "array".Derived terms
* * * * *Antonyms
* (orderly series) disarraySee also
* (any of various data structures) ones-based indexing, zero-based indexingVerb
- He was arrayed in his finest robes and jewels.
- (Blackstone)
collection
English
Noun
(en noun)- Secondly, I continue to base my concepts on intensive study of a limited suite of collections , rather than superficial study of every packet that comes to hand.
- Collections of moisture.
- A purulent collection .
Mr. Pratt's Patients, passage=Of all the queer collections of humans outside of a crazy asylum, it seemed to me this sanitarium was the cup winner. […] When you're well enough off so's you don't have to fret about anything but your heft or your diseases you begin to get queer, I suppose.}}
- We may safely say thus, that wrong collections have been hitherto made out of those words by modern divines.
