mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-01-10 18:09:38 +07:00
10 lines
1.6 KiB
HTML
10 lines
1.6 KiB
HTML
<html><head><base href="placeholder"></head><body><div class="bottom"><icon src="AllIcons.Nodes.Class"></icon> <a href="psi_element://E"><code><span style="color:#000000;">E</span></code></a></div><div class="definition"><pre><i><span style="color:#808000;">@</span><a href="psi_element://org.jetbrains.annotations.Contract"><code><span style="color:#808000;">Contract</span></code></a><span style="">(</span><span style="">value</span><span style=""> = </span><span style="color:#008000;font-weight:bold;">" -> new"</span><span style="">, </span><span style="">pure</span><span style=""> = </span><span style="color:#000080;font-weight:bold;">true</span><span style="">)</span></i><sup><font color="808080" size="3"><i>i</i></font></sup><a href="inferred.annotations"><icon src="AllIcons.Ide.External_link_arrow"></icon></a>
|
|
<span style="color:#000080;font-weight:bold;">public static</span> <a href="psi_element://E"><code><span style="color:#000000;">E</span></code></a><span style="">[]</span> <span style="color:#000000;">values</span><span style="">(</span><span style="">)</span></pre></div><hr><div class="content"><p>
|
|
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:
|
|
</p><pre> for(E c : E.<wbr>values())
|
|
System.<wbr>out.<wbr>println(c);
|
|
</pre>
|
|
|
|
</div><table class="sections"><tbody><tr><td valign="top" class="section"><p>Returns:</p></td><td valign="top"><p>an array containing the constants of this enum type, in the order they're declared</p></td></tr></tbody></table></body></html> |