Wednesday, November 08, 2006

Java Thoughts

Eclipse 3.2
Java 5
Generics... no more casts!!!
Java Collections - One stop shopping for buld data storage!
ArrayList; HashSet; HashMap
for (String encryptedString: list) {
...
Iterators
Iterator it=list.iterator();
while( it.hasNext()) {
String s = it.next();
}

Autoboxing deals with the Integer != int issue
no free lunch; 8 bytes of overhead per integer?