iterable containers switching between states iterator generator transitions for loops as iterators - strategy pattern modifying data consequences of - privileged access - context class using github programs command objects - line and bar graph strategies - consequences of plotstategy class - example system - program commands - github programs sample code - interactions between controls using - mediator pattern sample code - single interface mediators - memento pattern template pattern callbacks concrete methods caretaker class - consequences of consequences of empty methods github programs github programs graphics drawing program example - hook methods sample code - isoscelestriangle class using - point class observer pattern - isosceles triangles sample code - color changing program example - standard triangles consequences of summary of github programs template class messages to the media triangle class - notifications triangle drawing program state pattern stdtriangle class using consequences of visitor pattern github programs boss class - graphics drawing program example - bvacationvisitor class - sample code - statemanagermediator interactions - statemanagerswitching between states consequences of double dispatching github programs sample code - traversing series of classes