public boolean equals(final ClassCode opCode) {
      return opCode != null && opCode.ordinal == ordinal;
    }
Indicates whether other {@code ClassCode} is same as this one.

@param opCode the {@code ClassCode} to check
@return true if other {@code ClassCode} is same as this one.
geode-dunit/src/main/java/org/apache/geode/security/generator/CredentialGenerator.java