AspectJ 5 supports Java 5 Container Managed Security: If your standard covers a lowest common denominator. Please add hooks!
Jan 18

Arrays.asList(”Rod”, “Jane”, “Freddy”);

Tech Add comments

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”,

2 Responses to “Arrays.asList(”Rod”, “Jane”, “Freddy”);”

  1. Gigix Says:

    ItCanBeAnErrorProne

    ItCanBeAnErrorProne

  2. Gigix Says:

    ItCanBeAnErrorProne

    ItCanBeAnErrorProne