Have you ever wanted to create a Java class where the instances behave like the Java String, i.e. instances with the same contents share a singleton? The JSingleton project, consisting of just a few classes, makes it very simple to create classes with this property.