Although it is part of the java.util.concurrent package, the TimeUnit enum is useful in many contexts outside of concurrency. In this post, I look at how the TimeUnit enum can be used even in code ...
Departing from traditional practice for JavaWorld’s Tips ‘N Tricks column, I will talk about when not to use a previously suggested trick. Specifically, the typesafe enum construct, covered in JDC ...
Q. I'm working on a tool to support my internal framework. This tool needs to include a combo box that contains a list that is specific to a particular project. The framework tool assembly doesn't ...
Community driven content discussing all aspects of software development from DevOps to design patterns. Just how hard is it to perform a JPA or Hibernate enum mapping with either annotations or a ...
classes() .that() .haveSimpleNameContaining("Command") .and() .doNotHaveModifier(JavaModifier.ABSTRACT) .should(new ArchCondition<>("In command package only result ...