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