| <html><head><base href="placeholder"></head><body><div class='definition'><pre><a href="psi_element://E"><code>E</code></a><br><i>@<a href="psi_element://org.jetbrains.annotations.Contract"><code>Contract</code></a>(value = " -> new", pure = true)</i> | |
| public static <a href="psi_element://E"><code>E</code></a>[] <b>values</b>()</pre></div><div class='content'> | |
| Returns an array containing the constants of this enum | |
| type, in the order they're declared. This method may be | |
| used to iterate over the constants as follows: | |
| <pre> | |
| for(E c : E.values()) | |
| System.out.println(c); | |
| </pre> | |
| <p></div><table class='sections'><p><tr><td valign='top' class='section'><p>Returns:</td><td valign='top'><p>an array containing the constants of this enum type, in the order they're declared</td><tr><td valign='top' class='section'><p><i>Inferred</i> annotations:</td><td valign='top'><p><i>@<a href="psi_element://org.jetbrains.annotations.Contract">org.jetbrains.annotations.Contract</a>(value = " -> new", pure = true)</i></td></table> |