«
»
1 :
2 : Leave if ...
3 : Stay if ...
4 : What is an Iterator?
5 : Iterators in Ruby
6 : Iterators in Python
7 : Iterators in Python
8 : Iterators in .NET
9 : Iterators in .NET
10 : Iterators in C++
11 : Iterators in C++
12 : Iterators in the Patterns literature
13 : Iterators in Java
14 : Iterators in Java
15 : Why is should we give a stuff?
16 : So this is Iteration?
17 : So this is Iteration?
18 : Well, it's fine for the usual case
19 : A bit of filtering
20 : A bit more filtering
21 : List Iterator
22 : ListIterator, maybe?
23 : Another iterator then?
24 : Reverse Iterator
25 : Forwards, backwards, take your pick
26 : I'm not making the next bit up, I swear
27 : Iterators as interface
28 : Iterators as interface
29 : A null iterator
30 : An Array Iterator
31 : Taming the Madness
32 : A singleton iterator
33 : Trees
34 : Walking a tree
35 : Iterating over a tree
36 : A pre-order Iterator
37 : Where are we?
38 : Collection operations
39 : Collection operations
40 : Simple linear search
41 : Simple linear search
42 : Simple linear search
43 : A Collection is a lot of work
44 : Iterators as interface again
45 : Remove
46 : Find again
47 : A filtering iterator
48 : Common Predicates
49 : Versim XML Differencing
50 : Pipelines
51 : A Transformer
52 :
53 : Libraries implementing these ideas
54 : So that's it then
55 : So that's it then
56 : Thanks for coming
57 : Thanks for coming
58 : Thanks for coming
So this is Iteration?
Start at the front of a container
Step through each element
Fall off the end and stop
Initialise to start
Continuation/termination condition
Body
Advance to next
Clean up