// ** This class was generated with DemFGen (vers:09/27/2009) package gen; import edu.neu.ccs.demeterf.lib.*; /** Representation of Minus */ public class Minus extends MathOp{ /** Construct a(n) Minus Instance */ public Minus(){ } /** Is the given object Equal to this Minus? */ public boolean equals(Object o){ if(!(o instanceof Minus))return false; if(o == this)return true; Minus oo = (Minus)o; return true; } /** Parse an instance of Minus from the given String */ public static Minus parse(String inpt) throws ParseException{ return new TheParser(new java.io.StringReader(inpt)).parse_Minus(); } /** Parse an instance of Minus from the given Stream */ public static Minus parse(java.io.InputStream inpt) throws ParseException{ return new TheParser(inpt).parse_Minus(); } /** Parse an instance of Minus from the given Reader */ public static Minus parse(java.io.Reader inpt) throws ParseException{ return new TheParser(inpt).parse_Minus(); } int op(int l, int r){ return l-r; } /** DGP method from Class Print */ public String print(){ return gen.Print.PrintM(this); } }