title: Where is the documentation for the values() method of Enum?
body: <p>I declare an enum as : </p>
  
  <pre><code>enum Sex {MALE,FEMALE};
  </code></pre>
  
  <p>And then, iterate enum as shown below :</p>
  
  <pre><code>for(Sex v : Sex.values()){
      System.out.println(" values :"+ v);
  }
  </code></pre>
  
  <p>I checked the Java API but can't find the values() method? I'm curious as to where this method comes from? </p>
  
  <p>API link : 
  <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Enum.html" rel="noreferrer">https://docs.oracle.com/javase/8/docs/api/java/lang/Enum.html</a></p>