When writing Java code I often find it laborious to create collections using the java.util.* collection classes. To avoid this, I've been using a mini-DSL to reduce my collections code.
Here is the underlying code.
I've noticed that the Google Collections project has morphed into Guava which has great reusable code for collections and a lot of other common Java tasks.