I’ve read that mutableMapOf and mapOf uses LinkedHashMap and preserve ordering, while hashMapOf uses HashMap and does not. Should we stick with using generic methods? Thanks.
submitted by /u/VincentJoshuaET
[link] [comments]
I’ve read that mutableMapOf and mapOf uses LinkedHashMap and preserve ordering, while hashMapOf uses HashMap and does not. Should we stick with using generic methods? Thanks.
submitted by /u/VincentJoshuaET
[link] [comments]