Enumerator

Enumerator

Der Begriff Iterator (manchmal auch Cursor) stammt aus dem Bereich der Softwareentwicklung und bezeichnet einen Zeiger, mit dem über die Elemente einer Liste bzw. durch die Elemente einer Menge iteriert werden kann.

Der Iterator steht dabei im Gegensatz zu einem Index oder Schlüssel:

  • Über einen Iterator kann man direkt auf das zugehörige Element zugreifen ohne die Datenstruktur selber zu kennen. Bei einem Index benötigt man immer Index und Datenstruktur.
  • Ein Iterator ist nur für genau eine Datenstruktur gültig. Ein Index kann auf andere Datenstrukturen übertragen werden.
  • Iteratoren lassen sich nicht serialisieren. Sie müssen dazu erst zu einem Index gewandelt werden.

Wikimedia Foundation.

Игры ⚽ Нужен реферат?

Schlagen Sie auch in anderen Wörterbüchern nach:

  • Enumerator — may refer to: *Iterator (computer science) *a census taker, a person performing door to door around election time and to make the voter s list. *Enumerator polynomial …   Wikipedia

  • Enumerator — E*nu mer*a tor, n. One who enumerates. [1913 Webster] …   The Collaborative International Dictionary of English

  • Enumerator polynomial — In coding theory, the weight enumerator polynomial of a binary linear code specifies the number of words of each possible Hamming weight. Let be a binary linear code length n. The weight distribution is the sequence of numbers giving the number… …   Wikipedia

  • enumerator — noun Date: 1835 one that enumerates; especially a census taker …   New Collegiate Dictionary

  • enumerator — See enumeration. * * * …   Universalium

  • enumerator — noun A person who, or a thing that enumerates; a counter or iterator …   Wiktionary

  • enumerator — e nu·mer·a·tor || tÉ™ n. one that counts or numbers, one that lists; census taker …   English contemporary dictionary

  • enumerator — noun a person employed in taking a census of the population …   English new terms dictionary

  • enumerator — enu·mer·a·tor …   English syllables

  • enumerator — n. 1 a person who enumerates. 2 a person employed in census taking …   Useful english dictionary

Share the article and excerpts

Direct link
Do a right-click on the link above
and select “Copy Link”