mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-01-08 23:39:39 +07:00
11 lines
1.9 KiB
HTML
11 lines
1.9 KiB
HTML
<html><head><base href="placeholder"></head><body><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>
|
|
<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><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>
|
|
|
|
</div><table class='sections'><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><br> annotations:</td><td valign='top'><p><i><span style="color:#808000;">@</span><a href="psi_element://org.jetbrains.annotations.Contract"><span style="color:#808000;">org.jetbrains.annotations.Contract</span></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></td></table> |