Lecture overview -- Keyboard shortcut: 'u'  Previous page: Towards a Visitor solution -- Keyboard shortcut: 'p'  Next page: Visitors - Pros and Cons -- Keyboard shortcut: 'n'  Lecture notes - all slides and notes together  slide -- Keyboard shortcut: 't'  Textbook -- Keyboard shortcut: 'v'  Help page about these notes  Alphabetic index  Course home  Page 36 : 37
Object-oriented Programming in C#
Abstract classes, Interfaces, and Patterns
A Visitor example: IntSequence

/user/normark/oop-csharp-1/sources/c-sharp/sequence/visitor/Sequence.csThe Visitor Interface.


/user/normark/oop-csharp-1/sources/c-sharp/sequence/visitor/Sequence.csThe abstract class IntSequence.


/user/normark/oop-csharp-1/sources/c-sharp/sequence/visitor/Sequence.csThe class IntInterval.


/user/normark/oop-csharp-1/sources/c-sharp/sequence/visitor/Sequence.csThe class IntSingular.


/user/normark/oop-csharp-1/sources/c-sharp/sequence/visitor/Sequence.csThe class IntCompSeq.


/user/normark/oop-csharp-1/sources/c-sharp/sequence/visitor/Sequence.csThe class MinVisitor.


/user/normark/oop-csharp-1/sources/c-sharp/sequence/visitor/Sequence.csThe class MaxVisitor.


/user/normark/oop-csharp-1/sources/c-sharp/sequence/visitor/Sequence.csThe class SumVisitor.


/user/normark/oop-csharp-1/sources/c-sharp/sequence/visitor/App.csA sample application of IntSequences and visitors.


/user/normark/oop-csharp-1/sources/c-sharp/sequence/visitor/outputProgram output.