iterator - definition. What is iterator
Diclib.com
قاموس ChatGPT
أدخل كلمة أو عبارة بأي لغة 👆
اللغة:

ترجمة وتحليل الكلمات عن طريق الذكاء الاصطناعي ChatGPT

في هذه الصفحة يمكنك الحصول على تحليل مفصل لكلمة أو عبارة باستخدام أفضل تقنيات الذكاء الاصطناعي المتوفرة اليوم:

  • كيف يتم استخدام الكلمة في اللغة
  • تردد الكلمة
  • ما إذا كانت الكلمة تستخدم في كثير من الأحيان في اللغة المنطوقة أو المكتوبة
  • خيارات الترجمة إلى الروسية أو الإسبانية، على التوالي
  • أمثلة على استخدام الكلمة (عدة عبارات مع الترجمة)
  • أصل الكلمة

%ما هو (من)٪ 1 - تعريف

IN COMPUTING, AN OBJECT WHOSE METHODS ENABLES A PROGRAM TO ORDERLY TRAVERSE ELEMENTS HAVING SOME LOGICAL CONDITIONS IN A GIVEN CONTAINER FROM A GIVEN FIRST ELEMENT
Iterators; IteratorAggregate; Iterator (C++); IEnumerable; External iterator; Internal iterators; Comparison of programming languages (iterators)

iterator         
<programming> An object or routine for accessing items from a list, array or stream one at a time. By extension, the term can be used for an object or routine for accesing items from any data structure that can be viewed as a list. For example, a traverser is an iterator for tree-shaped data structures. (2001-10-04)
Iterator         
In computer programming, an iterator is an object that enables a programmer to traverse a container, particularly lists. Various types of iterators are often provided via a container's interface.
Iterator pattern         
OBJECT-ORIENTED DESIGN PATTERN USING AN ITERATOR TO TRAVERSE A CONTAINER AND ACCESS THE CONTAINER'S ELEMENTS
Iterator Pattern; Cursor pattern
In object-oriented programming, the iterator pattern is a design pattern in which an iterator is used to traverse a container and access the container's elements. The iterator pattern decouples algorithms from containers; in some cases, algorithms are necessarily container-specific and thus cannot be decoupled.

ويكيبيديا

Iterator

In computer programming, an iterator is an object that enables a programmer to traverse a container, particularly lists. Various types of iterators are often provided via a container's interface. Though the interface and semantics of a given iterator are fixed, iterators are often implemented in terms of the structures underlying a container implementation and are often tightly coupled to the container to enable the operational semantics of the iterator. An iterator performs traversal and also gives access to data elements in a container, but does not itself perform iteration (i.e., not without some significant liberty taken with that concept or with trivial use of the terminology).

An iterator is behaviorally similar to a database cursor. Iterators date to the CLU programming language in 1974.