// ** This class was generated with DemFGen (vers:10/20/2009) package gen; import java.io.FileInputStream; import edu.neu.ccs.demeterf.lib.*; /** Representation of Ineq */ public class Ineq extends Body{ protected final VC vc1; protected final VC vc2; /** Construct a(n) Ineq Instance */ public Ineq(VC vc1, VC vc2, int rhs){ super(rhs); this.vc1 = vc1; this.vc2 = vc2; } /** Is the given object Equal to this Ineq? */ public boolean equals(Object o){ if(!(o instanceof Ineq))return false; if(o == this)return true; Ineq oo = (Ineq)o; return (((Object)vc1).equals(oo.vc1))&&(((Object)vc2).equals(oo.vc2))&&(((Object)rhs).equals(oo.rhs)); } /** Parse an instance of Ineq from the given String */ public static Ineq parse(String inpt) throws ParseException{ return new TheParser(new java.io.StringReader(inpt)).parse_Ineq(); } /** Parse an instance of Ineq from the given Stream */ public static Ineq parse(java.io.InputStream inpt) throws ParseException{ return new TheParser(inpt).parse_Ineq(); } /** Parse an instance of Ineq from the given Reader */ public static Ineq parse(java.io.Reader inpt) throws ParseException{ return new TheParser(inpt).parse_Ineq(); } /** Field Class for Ineq.vc1 */ public static class vc1 extends edu.neu.ccs.demeterf.control.Fields.any{} /** Field Class for Ineq.vc2 */ public static class vc2 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); } }