What is the best construction for creating a List
of Strings? Is it Lists.newArrayList()
(from guava) or new ArrayList()
?
is it just a personal preference?
or is it just Type generic type inference?
or is there any theoretical or practical value in using Lists.newArrayList()?