title: Are enum names interned in Java?
body: <p>Are enum names interned in Java?</p>
  
  <p>I.e. is it guaranteed that <code>enum1.name() == enum2.name()</code> in case of the same name? And is it safe to compare <code>enum.name()</code> to a String that is guaranteed to be interned.</p>