Created
July 19, 2020 09:54
-
-
Save sasssass/15b1b81caf63005082b82b30efaa3e8e 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
class Demo(){ | |
fun doSth(){ | |
val listOfComputers : MutableList<Computer> = ArrayList() | |
for (ram in 1024..2048){ | |
listOfComputers.add(Computer(getOS(OSType.WIN),ram)) | |
listOfComputers.add(Computer(getOS(OSType.LIN),ram)) | |
listOfComputers.add(Computer(getOS(OSType.MAC),ram)) | |
} | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment