title: How to disable some enum and keep the enum value?
body: <p>I wrote a library</p>
  
  <p>This library accept the limited options and print the related string.</p>
  
  <pre><code>public class Lib {
  
      public enum Num {
          ZERO,
          ONE,
          TWO,
          THREE
      }
  
      public static void main(String[] args) {
          Lib obj = new Lib();
          obj.print(Num.ONE);
      }
  
      public void print(Num num) {
          switch (num) {
              case ZERO:
                  System.out.println("ZERO is "+Num.ZERO.ordinal());
                  break;
              case ONE:
                  System.out.println("ONE is "+Num.ONE.ordinal());
                  break;
              case TWO:
                  System.out.println("TWO is "+Num.TWO.ordinal());
                  break;
              case THREE:
                  System.out.println("THREE is "+Num.THREE.ordinal());
                  break;
              default:
                  break;
          }
      }
  }
  </code></pre>
  
  <p>In the new version, I will disable option ONE and TWO</p>
  
  <pre><code>    public enum Num {
          ZERO,
          //ONE,
          //TWO,
          THREE
      }
  </code></pre>
  
  <p>How can I keep the correct values after I disabled the options?</p>