Download for Windows Premium
Advertising
JavaScript an iterator is

Examples with "JavaScript an iterator is" and their translation in Polish

We couldn’t find this entry. Showing approximate results. Check your spelling or suggest adding this term to the dictionary.
In JavaScript an iterator is an object that provides a next() method which returns the next item in the sequence.
W języku JavaScript iterator jest obiektem który dostarcza metodę next(), która zwraca następny obiekt w tej sekwencji.

Other results

Posted in AJAX, Courses, Interesting stuff, Theory Tags: AJAX, BOM, cross-browser, DOM, element, events, examples, forms, framework, hash, inheritance, iterator, JavaScript, OOP, Prototype JS, template 2 Comments
Posted in AJAX, Artykuły, Ciekawostki, Frameworki JS, JavaScript, Kursy, Praktyka, Prototype JS, Teoria Tags: ajax, BOM, cross-browser, DOM, dziedziczenie, JS, przykłady, Template, zdarzenia Brak komentarzy Czytaj dalej
An iterator is invalidated only when the corresponding element is deleted.
Iterator jest unieważniany tylko wtedy, gdy odpowiadający mu element jest usuwany.
The primary purpose of an iterator is to allow a user to process every element of a container while isolating the user from the internal structure of the container.
Podstawowym celem iteratora jest pozwolić użytkownikowi przetworzyć każdy element w kolekcji bez konieczności zagłębiania się w jej wewnętrzną strukturę.
By using an iterator one is isolated from these sorts of consequences.
Użycie iteratora izoluje od tego rodzaju problemów.
This construction in loop is often used as an iterator in the algorithms using a list.
Taka konstrukcja w pętli jest często wykorzystywana jako iterator w algorytmach korzystających z list.
This function works like the Python function list, creating a copy of a sequence or materialzing an iterator.
Funkcja ta działa podobnie jak lista funkcji Pythona, tworzenia kopii sekwencji lub materialzing iterator.
For instance, once an iterator has advanced beyond the first element it may be possible to insert additional elements into the beginning of the container with predictable results.
Na przykład po przejściu za pierwszy element może on umożliwiać wstawianie nowych elementów na początek kolekcji z przewidywalnymi skutkami.
Instead, a generator-iterator is returned.
An iterator class is usually designed in tight coordination with the corresponding container class.
Klasa iteratora jest zwykle projektowana wraz z klasą odpowiadającej mu kolekcji i jest z nią ściśle powiązana.
An iterator can enforce additional restrictions on access, such as ensuring that elements cannot be skipped or that a previously visited element cannot be accessed a second time.
Iterator może nakładać dodatkowe ograniczenia na dostęp, np. uniemożliwiając pominięcie elementów lub powtórny dostęp do wcześniej odwiedzonych elementów.
There must also be a way to create an iterator so it points to some first element as well as some way to determine when the iterator has exhausted all of the elements in the container.
Musi także istnieć sposób utworzenia iteratora tak, by wskazywał na pierwszy element, oraz sposób określenia, kiedy iterator wyczerpał wszystkie elementy w kolekcji.
The difference between range and xrange is that the range function returns a new list with numbers of that specified range, whereas xrange returns an iterator, which is more efficient.
Różnica między nimi polega na tym, że range zwraca nową tablicę liczb zawartych w określonym przedziale, natomiast xrange zwraca pojedyńczą liczbę, co czyni ją w pętlach bardziej wydajną.
No results found for this meaning.
Word & Expression of the day
Image of the day
nut: metal piece with threads for bolts
Reveal the word
Advertising

Results: 22. Exact: 1. Elapsed time: 27 ms.

Word index: 1-300, 301-600, 601-900

Expression index: 1-400, 401-800, 801-1200

Phrase index: 1-400, 401-800, 801-1200