What's the difference between
and
Enter two words to compare and contrast their definitions, origins, and synonyms to better understand how those words are related.

Iterator vs Range - What's the difference?

iterator | range |

As nouns the difference between iterator and range

is that iterator is one which iterates while range is a line or series of mountains, buildings, etc.

As a verb range is

to travel {{term|over}} (an area, etc); to roam, wander.

iterator

English

Noun

(wikipedia iterator) (en noun)
  • One which iterates.
  • (computing) A method capable of performing the same action on every item in a collection.
  • range

    English

    (wikipedia range)

    Noun

    (en noun)
  • A line or series of mountains, buildings, etc.
  • A fireplace; a fire or other cooking apparatus; now specifically, a large cooking stove with many hotplates.
  • * 1590 , (Edmund Spenser), (The Faerie Queene) , II.vii:
  • Therein an hundred raunges weren pight, / And hundred fornaces all burning bright;
  • * L'Estrange
  • He was bid at his first coming to take off the range , and let down the cinders.
  • Selection, array.
  • * {{quote-book, year=2006, author=(Edwin Black), title=Internal Combustion
  • , chapter=2 citation , passage=But through the oligopoly, charcoal fuel proliferated throughout London's trades and industries. By the 1200s, brewers and bakers, tilemakers, glassblowers, pottery producers, and a range of other craftsmen all became hour-to-hour consumers of charcoal.}}
  • * {{quote-magazine, date=2013-07-19, author=(Timothy Garton Ash)
  • , volume=189, issue=6, page=18, magazine=(The Guardian Weekly) , title= Where Dr Pangloss meets Machiavelli , passage=Hidden behind thickets of acronyms and gorse bushes of detail, a new great game is under way across the globe. Some call it geoeconomics, but it's geopolitics too. The current power play consists of an extraordinary range of countries simultaneously sitting down to negotiate big free trade and investment agreements.}}
  • An area for practicing shooting at targets.
  • An area for military training or equipment testing.
  • The distance from a person or sensor to an object, target, emanation, or event.
  • Maximum distance of capability (of a weapon, radio, detector, fuel supply, etc.).
  • An area of open, often unfenced, grazing land.
  • Extent or space taken in by anything excursive; compass or extent of excursion; reach; scope.
  • * (Alexander Pope)
  • Far as creation's ample range extends.
  • * Bishop Fell
  • The range and compass of Hammond's knowledge filled the whole circle of the arts.
  • * Addison
  • A man has not enough range of thought.
  • (mathematics) The set of values (points) which a function can obtain.
  • (statistics) The length of the smallest interval which contains all the data in a sample; the difference between the largest and smallest observations in the sample.
  • (sports, baseball) The defensive area that a player can cover.
  • (music) The scale of all the tones a voice or an instrument can produce.
  • (ecology) The geographical area or zone where a species is normally naturally found.
  • (programming) A sequential list of iterators that are specified by a beginning and ending iterator.
  • An aggregate of individuals in one rank or degree; an order; a class.
  • * Sir M. Hale
  • The next range of beings above him are the immaterial intelligences.
  • (obsolete) The step of a ladder; a rung.
  • (Clarendon)
  • (obsolete, UK, dialect) A bolting sieve to sift meal.
  • A wandering or roving; a going to and fro; an excursion; a ramble; an expedition.
  • * South
  • He may take a range all the world over.
  • (US, historical) In the public land system, a row or line of townships lying between two succession meridian lines six miles apart.
  • The scope of something, the extent which something covers or includes.
  • Synonyms

    * (area for military training) base, training area, training ground * (distance to an object) distance, radius * compass

    Antonyms

    * (values a function can obtain) domain

    Holonyms

    * (values a function can obtain) codomain

    Derived terms

    * (area for practicing shooting) archery range * (area for practicing shooting) firing range * (area for practicing shooting) indoor range * (area for practicing shooting) shooting range * (area for practicing shooting) target range * (area for military training) air weapons range * (area for military training) artillery range * (area for military training) grenade range * (area for military training) live-fire range * (area for military training) missile range * (area for military training) rocket range * (area for military training) tank range * (maximum range) effective range * (maximum range) maximum range

    Verb

  • To travel (over) (an area, etc); to roam, wander.
  • To rove over or through.
  • to range the fields
  • * John Gay
  • Teach him to range the ditch, and force the brake.
  • (obsolete) To exercise the power of something over something else; to cause to submit (to), (over).
  • *, I.40:
  • The soule is variable in all manner of formes, and rangeth to her selfe, and to her estate, whatsoever it be, the senses of the body, and all other accidents.
  • To bring (something) into a specified position or relationship (especially, of opposition) with something else.
  • * 1851 , (Herman Melville), (Moby Dick) ,
  • At last we gained such an offing, that the two pilots were needed no longer. The stout sail-boat that had accompanied us began ranging alongside.
  • * 1910 , (Saki), ‘The Bag’, Reginald in Russia :
  • In ranging herself as a partisan on the side of Major Pallaby Mrs. Hoopington had been largely influenced by the fact that she had made up her mind to marry him at an early date.
  • (mathematics, computing''; ''followed by over ) Of a variable, to be able to take any of the values in a specified range.
  • * {{quote-magazine, year=2013, month=May-June, author=Kevin Heng
  • , title= Why Does Nature Form Exoplanets Easily? , volume=101, issue=3, page=184, magazine=(American Scientist) , passage=In the past two years, NASA’s Kepler Space Telescope has located nearly 3,000 exoplanet candidates ranging' from sub-Earth-sized minions to gas giants that dwarf our own Jupiter. Their densities ' range from that of styrofoam to iron.}}
  • To classify.
  • to range plants and animals in genera and species
  • To form a line or a row.
  • The front of a house ranges with the street.
  • * Dryden
  • which way the forests range
  • * 1873 , ,
  • The street-lamps burn amid the baleful glooms, / Amidst the soundless solitudes immense / Of ranged mansions dark and still as tombs.
  • To be placed in order; to be ranked; to admit of arrangement or classification; to rank.
  • * Shakespeare
  • And range with humble livers in content.
  • To set in a row, or in rows; to place in a regular line or lines, or in ranks; to dispose in the proper order.
  • * Bible, 2 Macc. xii. 20
  • Maccabeus ranged his army by hands.
  • To place among others in a line, row, or order, as in the ranks of an army; usually, reflexively and figuratively, to espouse a cause, to join a party, etc.
  • * Burke
  • It would be absurd in me to range myself on the side of the Duke of Bedford and the corresponding society.
  • (biology) To be native to, or live in, a certain district or region.
  • The peba ranges from Texas to Paraguay.
  • To separate into parts; to sift.
  • (Holland)
  • To sail or pass in a direction parallel to or near.
  • to range the coast
    * (English Citations of "range")

    Anagrams

    * * * * * * English intransitive verbs ----