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
Generic Types and Methods

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').

The class IntSet.set.csSlide contextText book context-
A client of IntSet.app.csSlide contextText book context-
The class StringSet.set.csSlide contextText book context-
A client of StringSet.app.csSlide contextText book context-
The class ObjectSet.set.csSlide contextText book context-
A client of ObjectSet - working with sets of Die objects.app.csSlide contextText book context-
A client of ObjectSet - working with set of different types.app-misc.csSlide contextText book context-
The class Set<T>.set.csSlide contextText book context-
A client of Set<T> - working with sets of different types.app-misc.csSlide contextText book context-
Illustrations of the various constraints on type parameters.contraints-on-generic-typesSlide contextText book context-
The generic class String<T>.string.csSlide contextText book context-
Illustrating a number of String<int> objects.app-1.csSlide contextText book contextNote context
Illustrating Strings of different types.app-2.csSlide contextText book context-
Two generic classes C and D - what is the problem?.class-struct.csSlide contextText book context-
Two generic classes C and D - with compiler errors.class-struct-error.csSlide contextText book context-
Two generic classes C and D - with the necessary constraints.class-struct-constraints.csSlide contextText book context-
Sets of check accounts and bank accounts.app.csSlide contextText book context-
A partial reproduction of struct Nullable<T>.nullable.csSlide contextText book context-
A reproduction of the non-generic interface IComparable.IComparable-non-generic.csSlide contextText book context-
A reproduction of the generic interface IComparable<T>.IComparable.csSlide contextText book context-
A class Die that implements IComparable.die-random.csSlide contextText book context-
A class Die that implements IComparable<T>.die-random.csSlide contextText book context-
A reproduction of the generic interface IEquatable<T>.IEquatable.csSlide contextText book context-
A reproduction of the generic interface IEqualityComparer<T>.IEqualityComparer.csSlide contextText book context-
Possible and impossible subclasses of Set classes.inh.csSlide contextText book context-
An equivalent program without automatic inference of the actual type parameters.app-3.csSlide contextText book contextNote context
A generic bubble sort program.sort-appl.csSlide contextText book context-
Generic reprogramming of the program that composes functions.generic-function-composition.csSlide contextText book context-
An example that involves other types than double.generic-function-composition.csSlide contextText book context-
A reproduction of the generic Action and Function delegate types.reproduction.csSlide context--

Generated: Monday February 7, 2011, 12:20:22