Just a bit of bile about inconsistent API's:
Object[] o = new Object[] {"foo"};
String s = "bar";
List l = new ArrayList();
System.out.println("Array length :" + o.length);
System.out.println("String length :" + s.length());
System.out.println("List length :" + l.size());
|
grrrr, as if I don't have enough things to remember at my age...