en

Iterator

UK
/ˈɪtəreɪtə/
US
/ˈɪtərˌeɪtər/
ru

Перевод iterator на русский язык

iterator
Существительное
raiting
UK
/ˈɪtəreɪtə/
US
/ˈɪtərˌeɪtər/
The iterator allows us to traverse the elements of a collection.
Итератор позволяет нам проходить по элементам коллекции.

Опеределения

iterator
Существительное
raiting
UK
/ˈɪtəreɪtə/
US
/ˈɪtərˌeɪtər/
An object or construct that allows a programmer to traverse through elements in a collection, such as an array or list, one at a time.
The iterator enabled the developer to loop through the list of names efficiently.

Идиомы и фразы

iterator pattern
The iterator pattern is a design pattern used in computer programming.
шаблон итератора
Шаблон итератора - это шаблон проектирования, используемый в программировании.
iterator method
The iterator method returns an iterator object.
метод итератора
Метод итератора возвращает объект итератора.
iterator interface
Implement the iterator interface to define custom iteration behavior.
интерфейс итератора
Реализуйте интерфейс итератора, чтобы определить собственное поведение итерации.
iterator instance
You can create an iterator instance for the collection.
экземпляр итератора
Можно создать экземпляр итератора для этой коллекции.
iterator object
The iterator object allows you to loop through data.
объект итератора
Объект итератора позволяет перебирать данные.

Примеры

quotes I decided to find out if there is practical sense in writing ++iterator instead of iterator++ when handling iterators.
quotes Я все-таки решил разобраться, есть ли смысл при работе с итераторами писать ++iterator, а не iterator++.
quotes Add a create_iterator() method to the "collection" class, and grant the "iterator" class privileged access.
quotes Добавьте классу «коллекции» create_iterator() метод и назначьте привилегированный доступ классу «итератор».
quotes Java 1.2 has added a much more complete collection library which contains an iterator called Iterator that does more than the older Enumeration.
quotes В Java 2 добавлено много более сложных библиотек контейнеров, которые содержат итераторы, называемые Iterator, который делает много больше, чем старый Enumeration.
quotes Instead it must be implemented by either IteratorAggregate or Iterator.
quotes Вместо этого он должен быть реализован используя IteratorAggregate или Iterator.
quotes Internal (built-in) classes that implement this interface can be used in a foreach construct and do not need to implement IteratorAggregate or Iterator.
quotes Внутренние (встроенные) классы, которые реализуют этот интерфейс, могут быть использованы в конструкции foreach и не обязаны реализовывать IteratorAggregate или Iterator.

Связанные слова