我的问题是,从性能的角度来看,应该将Map声明为Hashmap还是树状地图?Integer> myData = new Hashmap<>();Map<String, Integer> myData = new Treemap<>();我的问题是专门针对了解Firebase的性能,而不是一个关于两个映射类型之间的差异的一般性问题。
例如,以英尺和英寸为例:我怎么能把其中的一个元素分解成这样的东西:
"the person is 5 feet 11 inches tall."feet {} inches tall.".format(list[1], list[1]) #I am aware taking the same index of list will give me 5-
2020 ARI CB NB 33 Active Byron Mu~ Byron Murphy 1998-01-18 5-2020 ARI CB NA 39 Active Jace Whi~ Jace Whittaker 1995-07-16 5-2020 ARI CB NA 27 Injur~ Kevin Pe~ Kevin