If you're using JDK1.3, check out the enhancement section on the Collections Framework. The JDK1.3 has added java.util.Collections.singletonList and java.util.Collections.singletonMap. Most definitely . -Peter
There's a hole in the bucket, dear Liza, dear Liza, a hole in the bucket, dear liza, a tiny ad: