Lecture overview -- Keyboard shortcut: 'u'  Source programs in previous lecture -- Keyboard shortcut: 'p'  Source programs in next lecture -- Keyboard shortcut: 'n'  Course home

Source Programs
Abstract classes, Interfaces, and Patterns

The Note Context in the rightmost column is only shown in case an annotated program exists. - You can navigate to the annotated program via the annotated slide view (= 'the note context').

An illustration of the problems with covariance.ex.csSlide contextText book context-
An abstract class Stack - without data representation - with a non-abstract ToggleTop method.stack.csSlide contextText book context-
The abstract class Point with four abstract properties.AbstractPoint.csSlide contextText book context-
A non-abstract specialization of class Point (with private polar representation).Point.csSlide contextText book context-
Some client class of Point - Similar to a Point client from an earlier lecture.Client.csSlide contextText book context-
Sketches of the classes Vehicle, FixedProperty, Bus, and House - for the exercise.classes.csSlide contextText book context-
The interface IGameObject.gameobject.csSlide contextText book context-
The class Die which implements IGameObject.die.csSlide contextText book context-
The class Card which implements IGameObject.PlayingCard.csSlide contextText book context-
A sample Client program of Die and Card.client.csSlide contextText book context-
A reproduction of the interface IComparable.IComparable-non-generic.csSlide contextText book context-
A reproduction of the interface IEnumerable.IEnumerable.csSlide contextText book context-
A reproduction of the interface IEnumerator.IEnumerator.csSlide contextText book context-
IEnumerator in the type Interval.Interval.csSlide contextText book context-
Iteration with and without foreach based on the enumerator.app_1.csSlide contextText book context-
A reproduction of the interface IFormattable.IFormattable.csSlide contextText book context-
The struct Card that implements IFormattable.PlayingCard.csSlide contextText book context-
A client of Card which applies formatting of cards.Client.csSlide contextText book context-
The class Playing card with a property Value.PlayingCard.csSlide contextText book context-
The Interface IGameObject with a conflicting Value property.gameobject.csSlide contextText book context-
A class Card which implements IGameObject.PlayingCard.csSlide contextText book context-
Sample use of class Card in a Client class.Client.csSlide contextText book context-
An application of some MusicElement objects.client.csSlide contextText book context-
The abstract class MusicElement.Me.csSlide contextText book context-
The class Note.Note.csSlide contextText book context-
The class Pause.Pause.csSlide contextText book context-
The class SequentialMusicElement.SME.csSlide contextText book context-
The class ParallelMusicElement.PME.csSlide contextText book context-
An application of IntSequence objects.App.csSlide context--
The abstract class IntSequence.Sequence.csSlide context--
A program that builds a sample composite graphical user interface.CompositeDemo.csSlide contextText book context-
A reproduction of the interface ICloneable.ICloneable.csSlide contextText book context-
A cloneable class Point.Point.csSlide contextText book context-
A sample client of class Point.Client.csSlide contextText book context-
Illegal cloning with MemberwiseClone.Client-in-error.csSlide contextText book context-
The initial program.fragile.csSlide contextText book context-
A revised program with a new version of class A with a method M2.fragile.csSlide contextText book context-
The revised version with method A.M2 being virtual.fragile.csSlide contextText book context-
The revised version with method A.M2 being hidden.fragile.csSlide contextText book context-
The abstract class IntSequence.Sequence.csSlide contextText book context-
A sample application of IntSequences.App.csSlide contextText book context-
The Visitor Interface.Sequence.csSlide contextText book context-
A sample application of IntSequences and visitors.App.csSlide contextText book context-

Generated: Monday February 7, 2011, 12:17:40