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