Java – enums | lookup enum by value

  Overview This article explains how Java enums work and different ways to lookup Enums based on their values. It also explains the performance of different approaches of java enum reverse lookup and performance of valueof method.  Java Enums Enums were introduced as part of JDK5 version to enable programmers to create a set of constants with below