1 Reply Latest reply: Mar 9, 2007 11:00 AM by 807606 RSS

    typesafe enum pattern

    807606
      I'm trying to use Joshua Bloch's typesafe enum pattern for an inner class but I am getting compiler warnings about not being able to declare static variables for an inner class (fair enough). Any ideas how I can adapt this pattern to use as an inner class? I'm not using Java5 by the way!

      Thanks