Navigation Menu

Skip to content

Instantly share code, notes, and snippets.

@sajjadyousefnia
Created April 5, 2018 21:19
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save sajjadyousefnia/ca8d35f79500e0a1481146b763d36811 to your computer and use it in GitHub Desktop.
Save sajjadyousefnia/ca8d35f79500e0a1481146b763d36811 to your computer and use it in GitHub Desktop.
// 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