@Override
    public boolean equals(Object obj) {
      if (this == obj) {
        return true;
      }
      if (obj == null) {
        return false;
      }
      if (getClass() != obj.getClass()) {
        return false;
      }
      ResourceType other = (ResourceType) obj;
      if (name == null) {
        return other.name == null;
      } else
        return name.equals(other.name);
    }
Returns a description of this resource type.
geode-core/src/main/java/org/apache/geode/internal/statistics/StatArchiveReader.java