iterator

[アメリカ]/ɪtəˈreɪtə/
[イギリス]/ˈɪtəˌreɪtər/
頻度: 非常に高い

日本語訳

n.(computing) アイテムをコレクション内で順番に処理し、一つずつ返すオブジェクトまたはルーチン。

フレーズ・コロケーション

for iterator

イテレータパターン

iterator object

無効なイテレータ

each iterator

イテレータの無効化

iterator function

イテレータ範囲

using iterator

イテレータアダプタ

iterator error

イテレータアダプタ

iterator type

イテレータカテゴリ

iterator loop

イテレータカテゴリ

iterator design

イテレータイテレータ

iterator pattern

イテレータ開始

例文

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

イテレータはシーケンス内の次の要素を返します。

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

このイテレータは、挿入順でリストを走査します。

the iterator pattern is commonly used in software design.

ループに入る前にイテレータを初期化します。

always check if the iterator has next element before proceeding.

イテレータをコレクションの開始位置にリセットします。

the list iterator provides bidirectional traversal.

イテレータは現在の項目を指します。

you need to initialize the iterator before using it.

各レコードを処理した後にイテレータを進めます。

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

イテレータが終了に達したかどうかを確認します。

each iterator maintains its own position in the collection.

イテレータを使用すると、配列全体をコピーする必要がなくなります。

the iterator can be reset to traverse the collection again.

イテレータは、アイテムを遅延してフィルタリングすることをサポートします。

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

コレクションが変更された場合、イテレータが無効になる可能性があります。

the iterator interface defines standard methods for traversal.

要素が残っていない場合、このイテレータはエラーをスローします。

you can create multiple iterators for the same collection.

再利用するために、イテレータを変数に格納します。

人気の単語

よく検索される語彙を調べる

アプリをダウンロードして、すべてのコンテンツをアンロック

もっと効率的に語彙を学びたいですか?DictoGoアプリをダウンロードして、さらに多くの語彙暗記や復習機能をお楽しみください!

DictoGoを今すぐダウンロード