1. Alternative to String.equals for multiple compares (without enum) stackoverflow.com
I have thought about making enums for all my fields, but that doesn't look to cool either (i have many classes that implements similar methods). Is there a better way?
2. A right way to define two Enum data is equal or not forums.oracle.com