AN ITERATOR Tiếng việt là gì - trong Tiếng việt Dịch

Ví dụ về việc sử dụng An iterator trong Tiếng anh và bản dịch của chúng sang Tiếng việt

{-}
  • Colloquial category close
  • Ecclesiastic category close
  • Computer category close
So, what is an iterator,?
Vậy Iterator là gì?
Returns an iterator over the elements in this queue.
Trả về một Iterator qua các phần tử trong Set này.
It also uses an iterator.
Dùng iterator cũng được.
It acts as an iterator to allow you to move through its data.
Nó nóng vai trò như một Iterator để cho phép bạn vọc qua dữ liệu của nó.
The result is an iterator.
Kết quả trả về là một Iterator.
Like an Iterator, a new stream must be generated to revisit the same elements of the source.
Giống như Iterator, một stream mới sẽ cần khởi tạo lại để truy cập lại elemets đó.
You cannot reset an iterator.
Bạn không thể dùng Iterator.
Like an iterator, a new stream must be generated to revisit the same element of the source.
Giống như một Iterator, một Stream mới phải được tạo ra để duyệt lại các phần tử của dữ liệu nguồn.
Its results are an iterator.
Kết quả trả về là một Iterator.
Iterating over an iterator is said to consume the iterator, because it is generally only possible to do once.
Việc duyệt qua iterator được gọi là sử dụng iterator, bởi vì nó chỉ có thể làm một lần.
One alternative is to use an iterator.
Hoặc cũng có thể dùng iterator.
List. extend calls an iterator until it's exhausted.
List. extend gọi một trình lặp cho đến khi nó cạn kiệt.
Next() Retrieves the next item from an iterator.
Next() Trích xuất phần tử tiếp theo từ Iterator.
The for loop creates an iterator object internally, iter_obj by calling lter() on the iterable.
Ở ví dụ này,bên trong vòng lặp for ta tạo một iterator object tên là iter obj bằng cách gọi iter() trên iterable.
A generator is an elegant way to define an iterator.
Generator là cách đơn giản để tạo ra iterator.
Each of thecollection classes provides an iterator()method that returns an iterator to the start of the collection.
Mỗi lớp Collection cung cấp một phương thức iterator()mà trả về một iterator tới phần bắt đầu của Collection.
Simply put, an iterable is an object that has an iterator.
Iterable object là 1 object có chứa iterator.
However, when you request an iterator from an iterator(which you would rarely do), it just gives you a copy of itself.
Tuy nhiên, khi bạn yêu cầu một iterator từ một iterator( mà bạn hiếm khi làm), nó chỉ cung cấp cho bạn một bản sao của chính nó.
Iterables are any objects you can get an iterator from.
Iterables là bất kỳ đối tượng nàobạn có thể nhận được một iterator từ.
The better way is to employ an iterator, which is an object that implements either the Iterator or the ListIterator interface.
Cách đơn giản nhất để thực hiện điều này là thuê một Iterator, là một đối tượng mà triển khai hoặc Iterator hoặc Listlerator interface.
StopIteration Raised when the next() method of an iterator does not point to any object.
StopIteration Xuất hiện khi phương thức next() của interator không trỏ đến một đối tượng nào.
In JavaScript an iterator is an object which defines a sequence and potentially a return value upon its termination.
Trong JavaScript một iteratormột object mà nó định nghĩa một trình tự và giá trị có thể trả về tiếp theo trước khi kết thúc.
StopIteration Raised when the next() method of an iterator does not point to any object.
StopIterationĐược tạo khi phương thức next() của một iterator không trỏ tới bất kỳ đối tượng nào.
If an iterator has been created on a collection object and some other thread tries to modify the collection object"structurally”, a concurrent modification exception will be thrown.
Nếu một iterator đã được tạo trên một đối tượng collectionmột số thread khác cố gắng sửa đổi đối tượng collection" structurally", một ngoại lệ sửa đổi đồng thời sẽ được ném.
Before you can access a collection through an iterator, you must obtain one.
Trước khi bạn có thể truycập một Collection thông qua một Iterator, bạn phải có được nó.
More specifically an iterator is any object which implements the Iterator protocol by having a next() method which returns an object with two properties: value, the next value in the sequence;
Một cách cụ thể hơn một iteratormột object bất kỳ mà nó cài đặt giao thức Iterator với việc cài đặt phương thức next() mà trả về một object với thuộc tính: value, giá trị kế tiếp in chuỗi giá trị;
For collections that implement List, you can also obtain an iterator by calling ListIterator.
Đối với các collections mà implement List,bạn cũng có thể sử dụng iterator bằng cách gọi ListIterator.
The easiest way to do this is to employ an iterator, which is an object that implements either the Iterator or the ListIterator interface.
Cách đơn giản nhất để thực hiện điều này là thuê một Iterator, là một đối tượng mà triển khai hoặc Iterator hoặc Listlerator interface.
For collections that implement List, you can also obtain an iterator by calling ListIterator.
Với các Collection mà triển khai List,bạn cũng có thể thu được một interator bởi triệu hồi ListIterator.
Kết quả: 29, Thời gian: 0.0309

Từng chữ dịch

Truy vấn từ điển hàng đầu

Tiếng anh - Tiếng việt