iterator

[US]/ɪtəˈreɪtə/
[UK]/ˈɪtəˌreɪtər/
Frequency: Very High

Translation

n.(computing) en genstand eller rutine, der gennemløber elementer i en samling og returnerer hvert element ad gangen.

Phrases & Collocations

for iterator

Danish_translation

iterator object

Danish_translation

each iterator

Danish_translation

iterator function

Danish_translation

using iterator

Danish_translation

iterator error

Danish_translation

iterator type

Danish_translation

iterator loop

Danish_translation

iterator design

Danish_translation

iterator pattern

Danish_translation

Example Sentences

the iterator allows you to loop through each element in the collection.

Iteratoren returnerer det næste element i sekvensen.

you can use an iterator to access elements without exposing the underlying structure.

Denne iterator gennemløber listen i indsættelsesrækkefølge.

the iterator pattern is commonly used in software design.

Initialiser iteratoren før du træder ind i løkken.

always check if the iterator has next element before proceeding.

Nulstil iteratoren til begyndelsen af samlingen.

the list iterator provides bidirectional traversal.

Iteratoren peger på det aktuelle element.

you need to initialize the iterator before using it.

Flyt iteratoren fremad efter behandling af hver registrering.

the iterator returns null when it reaches the end of the sequence.

Kontroller om iteratoren har nået enden.

each iterator maintains its own position in the collection.

Brug af en iterator undgår at kopiere hele arrayet.

the iterator can be reset to traverse the collection again.

Iteratoren understøtter filtrering af elementer doven.

using an iterator is more efficient than indexed access in some cases.

Hvis samlingen ændres, kan iteratoren blive ugyldig.

the iterator interface defines standard methods for traversal.

Denne iterator udløser en fejl, når der ikke er flere elementer tilbage.

you can create multiple iterators for the same collection.

Gem iteratoren i en variabel til genbrug.

Popular Words

Explore frequently searched vocabulary

Download App to Unlock Full Content

Want to learn vocabulary more efficiently? Download the DictoGo app and enjoy more vocabulary memorization and review features!

Download DictoGo Now