class PurityGraphBox {

  public PurityGraph g;

  PurityGraphBox() {
    this.g = new PurityGraph();
  }

  @Override
  public int hashCode() {
    return g.hashCode();
  }

  @Override
  public boolean equals(Object o) {<FILL_FUNCTION_BODY>}
}

    if (o instanceof PurityGraphBox) {
      PurityGraphBox oo = (PurityGraphBox) o;
      return this.g.equals(oo.g);
    } else {
      return false;
    }
  
<no_super_class>