Collection vs Iterator - What's the difference?
As nouns the difference between collection and iterator
is that collection
is a set of items or amount of material procured or gathered together while iterator
is one which iterates.
A set of items or amount of material procured or gathered together.
* (William Whewell)
- 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 .
Multiple related objects associated as a group.
* , chapter=5
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.}}
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.
- We may safely say thus, that wrong collections have been hitherto made out of those words by modern divines.
* collection agency
* collection plate
* take up a collection
One which iterates.
(computing) A method capable of performing the same action on every item in a collection.