阅读背景:

Java:List的ArrayList,Map的HashMap和Set的HashSet?

来源:互联网 

I usually always find it sufficient to use the concrete classes for the interfaces listed in the title. Usually when I use other types (such as LinkedList or TreeSet), the reason is for functionality and not performance - for example, a LinkedList for a queue. I usually always find it sufficient to use the




你的当前访问异常,请进行认证后继续阅读剩余内容。

分享到: