Collections.emptyList () vs. new instance
原文可能无法访问了,如果运气好的话,你还能看到我们对原文的
存档
摘要
In practice, is it better to return an empty list like this: return Collections.emptyList(); Or like this: return new ArrayList(); Or is this completely dependent upon what you're go...