// ** This class was generated with DemFGen (vers:06/04/2009)
package gen;
import edu.neu.ccs.demeterf.demfgen.lib.*;
/** Representation of Pair */
public class Pair{
public A a;
public B b;
/** Construct a(n) Pair Instance */
public Pair(A a, B b){
this.a = a;
this.b = b;
}
/** Is the given object Equal to this Pair? */
public boolean equals(Object o){
if(!(o instanceof Pair))return false;
if(o == this)return true;
Pair oo = (Pair)o;
return (((Object)a).equals(oo.a))&&(((Object)b).equals(oo.b));
}
/** Field Class for Pair.a */
public static class a extends edu.neu.ccs.demeterf.control.Fields.any{}
/** Field Class for Pair.b */
public static class b extends edu.neu.ccs.demeterf.control.Fields.any{}
/** DGP method from Class Display */
public String display(){ return gen.Display.DisplayM(this); }
/** DGP method from Class PrintHeap */
public String print(){ return gen.PrintHeap.PrintHeapM(this); }
/** DGP method from Class PrintHeapToString */
public String toString(){ return gen.PrintHeapToString.PrintHeapToStringM(this); }
}