Created
March 1, 2022 08:06
-
-
Save arnaudgiuliani/4b255e6b636aa44296629df747815544 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@Single | |
class ElectricHeater : Heater | |
@Single | |
class Thermosiphon(private val heater: Heater) : Pump | |
@Single | |
class CoffeeMaker(private val pump: Pump, private val heater: Heater) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment