Vertaling van "An iterator" in Pools
We konden deze vermelding niet vinden. Er worden benaderende resultaten weergegeven. Controleer je spelling of stel voor deze term aan het woordenboek toe te voegen.
An iterator is invalidated only when the corresponding element is deleted.
Iterator jest unieważniany tylko wtedy, gdy odpowiadający mu element jest usuwany.
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.
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ą.
Once you have an iterator, you can easily fetch the next item in the object by calling the iterator's next() method.
Kiedy masz już iterator, możesz z łatwością pobierać następny element z obiektu wywołując jego metodę next().
The list uses an 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.
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.
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.
Here item is any iterable object such as a Python list, Python tuple, or Rows object, or any object that is implemented as an iterator.
Tutaj item jest dowolnym iterowalnym obiektem, takim jak lista Pythona, krotka Pythona lub obiekt Rows albo każdy inny obiekt, który jest implementowany jako iterator.
Additional system rules for groups with an iterator (such as: BEFORE, FIRST, LAST, AFTER)
Dodatkowe reguły systemowe dla grupy z iteratorem (jak: BEFORE, FIRST, LAST, AFTER).
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.