Jan 18
I think that the Arrays.* methods are not that well known among Java developers.
I still mainly see people write:
List<String> list = new ArrayList<String>();
list.add(”Rod”);
list.add(”Jane”);
list.add(”Freddy”);
instead of the asList method that was put into JDK 1.4:
List<String> list = Arrays.asList<String>(”Rod”,
January 18th, 2005 at 4:56 am
ItCanBeAnErrorProne
ItCanBeAnErrorProne
January 18th, 2005 at 4:56 am
ItCanBeAnErrorProne
ItCanBeAnErrorProne