Generator (computer programming)
In computer science, a generator is a routine that can be used to control the iteration behaviour of a loop. All generators are also iterators. A generator is very similar to a function that returns an array, in that a generator has parameters, can be called, and generates a sequence of values. However, instead of building an array containing all the values and returning them all at once, a generator yields the values one at a time, which requires less memory and allows the caller to get started processing the first few values immediately. In short, a generator looks like a function but behaves like an iterator.
Wikipage disambiguates
Wikipage redirect
Alphard (programming language)Boo (programming language)C Sharp 2.0C Sharp syntaxCall-with-current-continuationCobra (programming language)Comparison of C Sharp and JavaComparison of programming languages (list comprehension)ContinuationControl flowCorecursionCoroutineECMAScriptEffect systemEiffel (programming language)F Sharp (programming language)Function objectFutures and promisesGeneratorGenerator (JavaScript)Generator (computer science)GotoHalton sequenceHaskell featuresHistory of PythonIcon (programming language)IteratorIterator patternKamaeliaLazy evaluationLinear congruential generatorList comprehensionList of programming languages by typeMagik (programming language)PHPPhpStormPython (programming language)Python syntax and semanticsRegular numberSemicoroutine
Link from a Wikipage to another Wikipage
primaryTopic
Generator (computer programming)
In computer science, a generator is a routine that can be used to control the iteration behaviour of a loop. All generators are also iterators. A generator is very similar to a function that returns an array, in that a generator has parameters, can be called, and generates a sequence of values. However, instead of building an array containing all the values and returning them all at once, a generator yields the values one at a time, which requires less memory and allows the caller to get started processing the first few values immediately. In short, a generator looks like a function but behaves like an iterator.
has abstract
Em ciência da computação, um g ...... processamento pelo computador.
@pt
En computación, un generador e ...... llaman iteradores y en Ruby .
@es
En informatique, un générateur ...... iers serait un tel générateur.
@fr
Generátor je v programování sp ...... srovnání korutin s generátory.
@cs
In computer science, a generat ...... of coroutines with generators.
@en
In de informatica is een gener ...... aande datastructuur doorloopt.
@nl
In informatica, un generatore ...... chiamati iteratori e in Ruby .
@it
W informatyce, generator jest ...... w kodzie wywołującym iterator.
@pl
Генератор — в інформатиці, це ...... того коду, який його викликав.
@uk
في علم الحاسوب ، يعد المولّد g ...... ن تحديد روتين فرعي للقفز إليه.
@ar
Link from a Wikipage to an external page
Wikipage page ID
page length (characters) of wiki page
Wikipage revision ID
1,002,200,088
Link from a Wikipage to another Wikipage
wikiPageUsesTemplate
subject
hypernym
comment
Em ciência da computação, um g ...... comporta-se como um iterador.
@pt
En computación, un generador e ...... era clase o como co-funciones.
@es
En informatique, un générateur ...... iers serait un tel générateur.
@fr
Generátor je v programování sp ...... ce ale se chová jako iterátor.
@cs
In computer science, a generat ...... but behaves like an iterator.
@en
In de informatica is een gener ...... t efficiëntere code opleveren.
@nl
In informatica, un generatore ...... ss object) o come co-funzioni.
@it
W informatyce, generator jest ...... new Pair<T>(l[x],l[y]); } } }
@pl
Генератор — в інформатиці, це ...... того коду, який його викликав.
@uk
في علم الحاسوب ، يعد المولّد g ...... كدالة ولكنه يتصرف مثل المكرر .
@ar
label
Generador (informática)
@es
Generator (computer programming)
@en
Generator (informatica)
@nl
Generator (informatyka)
@pl
Generatore (informatica)
@it
Generátor (programování)
@cs
Gerador (ciência da computação)
@pt
Générateur (informatique)
@fr
Генератор (програмування)
@uk
مولد (برمجة)
@ar