@Override
  public boolean equals(Object other) {
    if (other == this) {
      return true;
    }
    if (!(other instanceof PdxType)) {
      return false;
    }
    // Note: do not compare type id in equals
    PdxType otherVT = (PdxType) other;
    if (!(className.equals(otherVT.className))) {
      return false;
    }
    if (noDomainClass != otherVT.noDomainClass) {
      return false;
    }
    if (otherVT.fields.size() != fields.size() || otherVT.vlfCount != vlfCount) {
      return false;
    }
    for (int i = 0; i < fields.size(); i++) {
      if (!fields.get(i).equals(otherVT.fields.get(i))) {
        return false;
      }
    }
    return true;
  }
A count of the total number of variable length field offsets.
geode-core/src/main/java/org/apache/geode/pdx/internal/PdxType.java