// ** This class was generated with DemFGen (vers:09/12/2009)
package gen;
import java.io.FileInputStream;
import edu.neu.ccs.demeterf.lib.*;
/** Representation of Pair */
public class Pair{
protected final A a;
protected final 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 ToStr */
public String toStr(){ return gen.ToStr.ToStrM(this); }
/** DGP method from Class Print */
public String print(){ return gen.Print.PrintM(this); }
/** DGP method from Class Display */
public String display(){ return gen.Display.DisplayM(this); }
}