Dodatkowe przykłady dopasowywane są do haseł w zautomatyzowany sposób - nie gwarantujemy ich poprawności.
Tłumaczenia dodatkowych przykładów zdań również generowane są przez automatyczny moduł i nie są weryfikowane przez naszych lektorów.
The following example shows a typical use of an iterator.
Następujący przykład pokazuje typowe wykorzystanie iteratora.
Another meaning of range in computer science is an alternative to iterator.
Inne znaczenie zakresu w informatyce jest alternatywą dla iteratora.
By using an iterator one is isolated from these sorts of consequences.
Przez używanie iteratora jeden jest odizolowany od tych rodzajów konsekwencji.
Additionally, a descending iterator over the items in the set is provided.
Co więcej, schodzący iterator ponad rzeczami w zbiorze jest dostarczony.
Using the iterator, the find function searches for an element with the given key.
Używając iteratora, znajdować poszukiwania funkcji elementu z danym kluczem.
A sequence has an method that returns an iterator object.
Ciąg ma metodę, która zwraca przedmiot iteratora.
However they still require explicit iterator objects as their initial input.
Jakkolwiek, oni wciąż wymagają wyraźnych przedmiotów iteratora jako swój początkowy wkład.
New iterator methods can be defined using the and statements:
Nowe metody iteratora mogą być określonym używaniem i oświadczenia:
The way the Iterator classes are implemented opens up various means for scalability.
Droga Iterator klasy są wprowadzonymi w życie świeżymi powietrzami w górę różnych środków dla skalowalności.
All collections have an iterator that goes through all of the elements in the collection.
Wszystkie kolekcjonowania mają iterator, który przedostaje się przez wszystko z elementów w kolekcjonowaniu.
Additionally, both a forwards and a backwards iterator can be generated.
Dodatkowo, obydwa napastnik i do tyłu iterator może być wytworzony.
Python hides essentially all of the details using the iterator protocol.
Pyton ukrywa się przede wszystkim wszyscy ze szczegółów wykorzystujących protokół iteratora.
Remote query agents service each subtask and return results to the iterator.
Wyniośli agenci pytania usługa każde podzadanie i skutki rewanżowe do iteratora.
An iterator can access both the key and the mapped value of an element:
Iterator może mieć dostęp do zarówno legendy jak i odwzorowanej wartości elementu:
The iterator would then access each element, executing its method with the parameter.
Iterator wtedy miałby dostęp do każdego elementu, realizując jego metodę z parametrem.
And if you want to print the message 90 times and show the iterator:
A jeśli chcesz drukować wiadomość 90 razy i pokazujesz iterator:
In short, a generator looks like a function but behaves like an iterator.
Pokrótce, generator wygląda na funkcję ale zachowuje się jak iterator.
This is an implementation of the Iterator pattern.
To jest wprowadzenie Iteratora wzór.
In object-oriented languages an iterator, even if implicit, is often used as the means of traversal.
W językach obiektowych iterator, nawet jeśli ukryty, jest używany często jako sposób z obchód.
It is possible to specify more than one iterator variable, in which case they are assigned sequential values from the list.
Można określić więcej niż jeden iterator zmienna, w takim razie oni są przypisanymi wartościami następującymi po kolei z listy.
The example below demonstrates an iterator using .
Przykład poniżej prezentuje używanie iteratora.
The property here is parametric in the Iterator .
Własność tu jest parametryczny w Iteratorze.
There is also a statement, in which control is unconditionally returned to the caller of the iterator.
Jest również oświadczenie, w którym kontrola jest bezwarunkowo zwrócony dzwoniącemu iteratora.
A for-each loop is essentially equivalent to an iterator.
Dla-każdy pętla odpowiada zasadniczo iteratorowi.
Functions for traversal and retrieval are put into the abstract Iterator interface.
Funkcje dla obchód i odzyskanie są włożone w abstrakcyjny Iterator interfejs.