Skip to content

Instantly share code, notes, and snippets.

@halilozel1903
Created May 29, 2022 18:28
Show Gist options
  • Save halilozel1903/0f036db5c36963c0b5dc378bbf175e01 to your computer and use it in GitHub Desktop.
Save halilozel1903/0f036db5c36963c0b5dc378bbf175e01 to your computer and use it in GitHub Desktop.
val mapTwo = hashMapOf<Double, Boolean>(19.93 to true, 19.97 to false, 19.95 to true)
val mapThree = hashMapOf<Double, Boolean>(19.93 to true, 19.97 to false, 19.95 to true)
val mapFour = hashMapOf<String, Boolean>("19.93" to true, "19.97" to false)
println(mapTwo.equals(mapThree))
println(mapTwo.equals(mapFour))
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment