Examples from Effective Java (2nd Edition)