38 Answered Questions

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

5 Answered Questions

[SOLVED] Iterator invalidation rules

3 Answered Questions

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

  • 2009-11-02 21:26:24
  • Nathan Fellman
  • 515628 View
  • 706 Score
  • 3 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

10 Answered Questions

14 Answered Questions

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

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

6 Answered Questions

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

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

9 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
  • 77307 View
  • 131 Score
  • 3 Answer
  • Tags:   c++ stl iterator

4 Answered Questions

[SOLVED] Removing from a list while iterating over it

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

25 Answered Questions

[SOLVED] Why use iterators instead of array indices?

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

8 Answered Questions

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

6 Answered Questions

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

2 Answered Questions

[SOLVED] ConcurrentModificationException despite using synchronized

3 Answered Questions

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

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
  • 41817 View
  • 96 Score
  • 9 Answer
  • Tags:   python iterator

18 Answered Questions

[SOLVED] Adding elements to a collection during iteration

  • 2009-06-14 15:32:02
  • grifaton
  • 124790 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
  • 33998 View
  • 78 Score
  • 4 Answer
  • Tags:   php iterator spl

6 Answered Questions

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

4 Answered Questions

[SOLVED] Flattening iterator

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
  • 44833 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
  • 34824 View
  • 70 Score
  • 10 Answer
  • Tags:   c++ iterator c++11

8 Answered Questions

[SOLVED] Deleting elements from STL set while iterating

  • 2010-05-20 14:03:53
  • pedromanoel
  • 83763 View
  • 125 Score
  • 8 Answer
  • Tags:   c++ stl iterator set