Created
January 3, 2018 09:40
-
-
Save mahata/16cdaa8d713db0d4ce4153e3379ba53a 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
val arrayList = arrayListOf(1, 5, 2) | |
Collections.sort(arrayList, { x, y -> y - x }) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment