Lab 5

Abstracting with Function Objects. Equality for unions.

Learn how to define and use classes that implement functional behavior.

Lab description lab5.pdf or lab5.html

Lab sources

Lab5.zip

Lab5a.zip


Note: To read the contents of the files that are provided you may want to use the links given here:

Example of the implementation of the same method:

Coffee.java


Labs