Is it OK to use == on enums in Java, or do I need to use .equals()? In my testing, == always works, but I\'m not sure if I\'m guarant
==
.equals()
Note that there is problem when transfering enum via RMI/IIOP. See this thread:
http://www.velocityreviews.com/forums/t390342-enum-equality.html