42 Answered Questions

[SOLVED] What does the "yield" keyword do?

5 Answered Questions

[SOLVED] Iterator invalidation rules

8 Answered Questions

[SOLVED] How to iterate through two lists in parallel?

  • 2009-11-02 21:26:24
  • Nathan Fellman
  • 493795 View
  • 688 Score
  • 8 Answer
  • Tags:   python iterator

12 Answered Questions

[SOLVED] What exactly are iterator, iterable, and iteration?

9 Answered Questions

[SOLVED] Build a Basic Python Iterator

7 Answered Questions

[SOLVED] Modifying list while iterating

11 Answered Questions

[SOLVED] Calling remove in foreach loop in Java

14 Answered Questions

[SOLVED] Get the first item from an iterable that matches a condition

  • 2010-03-02 07:11:29
  • Chris Phillips
  • 120647 View
  • 227 Score
  • 14 Answer
  • Tags:   python iterator

10 Answered Questions

6 Answered Questions

[SOLVED] How does zip(*[iter(s)]*n) work in Python?

  • 2010-02-09 23:07:21
  • Oliver Zheng
  • 24686 View
  • 89 Score
  • 6 Answer
  • Tags:   python iterator

8 Answered Questions

[SOLVED] Difference between Python's Generators and Iterators

3 Answered Questions

[SOLVED] What happens if you call erase() on a map element while iterating from begin to end?

  • 2008-11-05 00:02:56
  • MattSmith
  • 77140 View
  • 131 Score
  • 3 Answer
  • Tags:   c++ stl iterator

25 Answered Questions

[SOLVED] Why use iterators instead of array indices?

  • 2008-09-25 02:58:08
  • Jason Baker
  • 62562 View
  • 216 Score
  • 25 Answer
  • Tags:   c++ stl iterator

6 Answered Questions

[SOLVED] Iterate over all pairs of consecutive items in a list

4 Answered Questions

[SOLVED] Removing from a list while iterating over it

  • 2011-06-28 02:19:09
  • Matt Joiner
  • 2174 View
  • 10 Score
  • 4 Answer
  • Tags:   python iterator

6 Answered Questions

[SOLVED] How can I iterate over files in a given directory?

2 Answered Questions

[SOLVED] ConcurrentModificationException despite using synchronized

7 Answered Questions

[SOLVED] How to implement an STL-style iterator and avoid common pitfalls?

7 Answered Questions

[SOLVED] Why are Standard iterator ranges [begin, end) instead of [begin, end]?

9 Answered Questions

[SOLVED] Iterate an iterator by chunks (of n) in Python?

  • 2012-01-24 17:44:02
  • Gerenuk
  • 40061 View
  • 92 Score
  • 9 Answer
  • Tags:   python iterator

18 Answered Questions

[SOLVED] Adding elements to a collection during iteration

  • 2009-06-14 15:32:02
  • grifaton
  • 123700 View
  • 72 Score
  • 18 Answer
  • Tags:   java iterator

4 Answered Questions

[SOLVED] How does RecursiveIteratorIterator work in PHP?

  • 2012-08-22 16:07:57
  • varuog
  • 33401 View
  • 78 Score
  • 4 Answer
  • Tags:   php iterator spl

3 Answered Questions

[SOLVED] How do I write an iterator that returns references to itself?

4 Answered Questions

[SOLVED] Flattening iterator

6 Answered Questions

[SOLVED] How to correctly implement custom iterators and const_iterators?

7 Answered Questions

9 Answered Questions

15 Answered Questions

[SOLVED] Why is Java's Iterator not an Iterable?

  • 2009-05-08 10:19:43
  • Ɓukasz Bownik
  • 44511 View
  • 166 Score
  • 15 Answer
  • Tags:   java iterator iterable

10 Answered Questions

[SOLVED] Find position of element in C++11 range-based for loop?

  • 2012-06-09 15:37:33
  • Fred Finkle
  • 34042 View
  • 69 Score
  • 10 Answer
  • Tags:   c++ iterator c++11

15 Answered Questions

[SOLVED] Getting number of elements in an iterator in Python

  • 2010-07-27 16:32:21
  • user248237dfsf
  • 85594 View
  • 100 Score
  • 15 Answer
  • Tags:   python iterator