@Override
  public boolean equals(Object obj) {
    if (obj instanceof InOutParameter) {
      obj = ((InOutParameter) obj).getValue();
    }

    return ((obj == value) || (value != null && value.equals(obj)));
  }
Determines whether the in/out parameter value is equal in value to the specified Object. Note,
this is not typically how an equals method should be coded, but then this is not your typical
class either!
<p>

@param obj the Object value being compared for equality with this in/out parameter value.
@return boolean value indicating whether this in/out parameter value is equal to the specified
        Object.
geode-core/src/main/java/org/apache/geode/internal/lang/InOutParameter.java