How to find a enumeration by its value
<pre><code>public enum Foo {
   one ("one"), two ("two")
}
</code></pre>

<p>How to find a enumeration by its value (say <code>Foo.getFoo("two")</code>) should return <code>Foo.two</code>.</p>
