Skip to content
Snippets Groups Projects
Unverified Commit a09db4ce authored by Peter Kurfer's avatar Peter Kurfer
Browse files

Added disclaimer

parent 70e880a0
Branches
No related tags found
No related merge requests found
_This is an assignment to the class [Programmieren 3](https://hsro-inf-prg3.github.io) at the [University of Applied Sciences Rosenheim](http://www.fh-rosenheim.de)._
# Assignment 5: Generic bounds
In this assignment we want to deal with generic bounds.
......@@ -39,4 +41,4 @@ Last but not least we'll look at the PECS (**P**roducer **E**extends **C**onsume
![Utils spec](./assets/class-spec-3.svg)
1. Modify the _map_ method in the _SimpleList_ interface according to the PECS principle
2. Implement the utility method _splitBedByColor_ in a utility class _PlantBedUtility_ <br>_Side note:_ why should the class _PlantBedUtility_ be `abstract` and have a `private` constructor?<br>_Remark:_ the given UML for the utility method does not include any generic bound but you **need** some (PECS!) because the compilere won't let you implement the method as described in the UML!
\ No newline at end of file
2. Implement the utility method _splitBedByColor_ in a utility class _PlantBedUtility_ <br>_Side note:_ why should the class _PlantBedUtility_ be `abstract` and have a `private` constructor?<br>_Remark:_ the given UML for the utility method does not include any generic bound but you **need** some (PECS!) because the compilere won't let you implement the method as described in the UML!
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment