Created
April 5, 2018 21:19
-
-
Save sajjadyousefnia/ca8d35f79500e0a1481146b763d36811 to your computer and use it in GitHub Desktop.
This file contains hidden or 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
// creates a mutable set of int types only | |
val intsMutableSet: MutableSet<Int> = mutableSetOf(3, 5, 6, 2, 0) | |
intsMutableSet.add(8) | |
intsMutableSet.remove(3) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment