@Override public boolean equals(final SimpleEnum s1, final SimpleEnum s2) { //noinspection ObjectEquality return (s1 == s2) || (((s2 != null)) && (s1.ordinal() == s2.ordinal())); }
@Override public int computeHashCode(final SimpleEnum s) { return s.ordinal(); }