Available since Java 1.5 is the nice helper class EnumSet and I still find code like this way to often: public class Foo { enum Thing { A, B, C } public static final Set<Thing> THINGS = new HashSet<>(); static { THINGS.add(Thing.A); THINGS.add(Thing.B); THINGS.add(Thing.C); } }public class Foo { enum Thing { A, B, […]
Read the complete article »
This post has been featured on This Week in Spring – November 28th, 2017. Lately I have been preparing a small project called simple-meetup that I plan to use for different purposes. You’ll find the repository at GitHub: github.com/michael-simons/simple-meetup. It’s the first project where I used Gradle very intensive and I like my build file […]
Read the complete article »