38 Answered Questions

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

5 Answered Questions

[SOLVED] Iterator invalidation rules

5 Answered Questions

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

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

13 Answered Questions

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

  • 2010-03-02 07:11:29
  • Chris Phillips
  • 144550 View
  • 256 Score
  • 13 Answer
  • Tags:   python iterator

9 Answered Questions

[SOLVED] Difference between Python's Generators and Iterators

4 Answered Questions

[SOLVED] Removing from a list while iterating over it

  • 2011-06-28 02:19:09
  • Matt Joiner
  • 2424 View
  • 12 Score
  • 4 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
  • 26128 View
  • 93 Score
  • 6 Answer
  • Tags:   python iterator

9 Answered Questions

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

25 Answered Questions

[SOLVED] Why use iterators instead of array indices?

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

3 Answered Questions

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

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
  • Matthew Smith
  • 77729 View
  • 132 Score
  • 3 Answer
  • Tags:   c++ stl iterator

6 Answered Questions

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

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

18 Answered Questions

[SOLVED] Adding elements to a collection during iteration

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

4 Answered Questions

[SOLVED] How does RecursiveIteratorIterator work in PHP?

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

6 Answered Questions

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

11 Answered Questions

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

  • 2012-06-09 15:37:33
  • Fred Finkle
  • 36432 View
  • 70 Score
  • 11 Answer
  • Tags:   c++ iterator c++11

4 Answered Questions

[SOLVED] Flattening iterator

7 Answered Questions

9 Answered Questions

8 Answered Questions

[SOLVED] Deleting elements from STL set while iterating

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

16 Answered Questions

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

  • 2009-05-08 10:19:43
  • Ɓukasz Bownik
  • 45404 View
  • 169 Score
  • 16 Answer
  • Tags:   java iterator iterable