42 Answered Questions

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

8 Answered Questions

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

6 Answered Questions

[SOLVED] Iterator invalidation rules

13 Answered Questions

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

10 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

3 Answered Questions

[SOLVED] Why can't I iterate twice over the same data?

  • 2014-08-16 03:42:47
  • JSchwartz
  • 20209 View
  • 43 Score
  • 3 Answer
  • Tags:   python iterator

10 Answered Questions

4 Answered Questions

[SOLVED] Removing from a list while iterating over it

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

9 Answered Questions

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

13 Answered Questions

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

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

11 Answered Questions

[SOLVED] Difference between Python's Generators and Iterators

6 Answered Questions

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

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

7 Answered Questions

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

3 Answered Questions

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

27 Answered Questions

[SOLVED] Why use iterators instead of array indices?

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
  • 79258 View
  • 134 Score
  • 3 Answer
  • Tags:   c++ stl iterator

8 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]?

3 Answered Questions

[SOLVED] ConcurrentModificationException despite using synchronized

9 Answered Questions

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

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

18 Answered Questions

[SOLVED] Adding elements to a collection during iteration

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

6 Answered Questions

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

4 Answered Questions

[SOLVED] How does RecursiveIteratorIterator work in PHP?

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

8 Answered Questions

[SOLVED] Deleting elements from std::set while iterating

8 Answered Questions

[SOLVED] How to convert an iterator to a stream?

  • 2014-07-01 13:05:15
  • gontard
  • 215978 View
  • 479 Score
  • 8 Answer
  • Tags:   java iterator java-8

11 Answered Questions

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

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

4 Answered Questions

[SOLVED] Flattening iterator

3 Answered Questions

[SOLVED] zip variable empty after first use