@Override
    public int hashCode() {
      return ordinal;
    }
Returns a hash code value for this {@code ClassCode} which is the same as its ordinal.

@return the ordinal of this operation.
geode-dunit/src/main/java/org/apache/geode/security/generator/CredentialGenerator.java