// ** This class was generated with DemFGen (vers:02/05/2009) package gen; import edu.neu.ccs.demeterf.demfgen.lib.*; import edu.neu.ccs.demeterf.*; /** Representation of B */ public class B extends LiteralOrBoolean{ public final boolean v; /** Construct a(n) B Instance */ public B(boolean v){ this.v = v; } /** Is the given B Equal to this one? */ public boolean equals(Object o){ if(!(o instanceof B))return false; B oo = (B)o; return (((Object)v).equals(oo.v)); } /** Parse an instance of B from the given String */ public static B parse(String inpt) throws ParseException{ return new TheParser(new java.io.StringReader(inpt)).parse_B(); } /** Parse an instance of B from the given Stream */ public static B parse(java.io.InputStream inpt) throws ParseException{ return new TheParser(inpt).parse_B(); } /** Parse an instance of B from the given Reader */ public static B parse(java.io.Reader inpt) throws ParseException{ return new TheParser(inpt).parse_B(); } /** Field Class for B.v */ public static class v 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 Print */ public String print(){ return gen.Print.PrintM(this); } /** DGP method from Class ToStr */ public String toStr(){ return gen.ToStr.ToStrM(this); } }