Skip to content

Instantly share code, notes, and snippets.

@sajjadyousefnia
Created April 5, 2018 16:30
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/bab2354ea39e5e522d3061bae0135e0c to your computer and use it in GitHub Desktop.
Save sajjadyousefnia/bab2354ea39e5e522d3061bae0135e0c to your computer and use it in GitHub Desktop.
val intsSortedSet: java.util.TreeSet<Int> = sortedSetOf(4, 1, 7, 2)
intsSortedSet.add(6)
intsSortedSet.remove(1)
intsSortedSet.clear()
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment