Lưu ý
Cần có ủy quyền mới truy nhập được vào trang này. Bạn có thể thử đăng nhập hoặc thay đổi thư mục.
Cần có ủy quyền mới truy nhập được vào trang này. Bạn có thể thử thay đổi thư mục.
Contains the methods for iterating through a list of ads. For information about iterators, see Iterators.
Methods
| Method Name | Return Type | Description |
|---|---|---|
| hasNext | Boolean | Gets a Boolean value that indicates whether the iterator has more elements. |
| next | Ad | Advances the iterator and returns the next ad. |
| totalNumEntities | int | Gets the number of ads that matched the selector's selection criteria. |
hasNext
Gets a Boolean value that indicates whether the iterator has more elements.
Returns
| Type | Description |
|---|---|
| Boolean | Is true if the iterator has more elements; otherwise, false. |
next
Advances the iterator and returns the next ad.
Returns
| Type | Description |
|---|---|
| Ad | The next ad in the iterator. |
totalNumEntities
Gets the number of ads that matched the selector's selection criteria.
Returns
| Type | Description |
|---|---|
| int | The number of ads that matched the selector's selection criteria. |