// ** This class was generated with DemFGen (vers:10/30/2008) package gen; import edu.neu.ccs.demeterf.demfgen.lib.*; import edu.neu.ccs.demeterf.*; public class Nany_vertex_list extends Any_vertex_list{ public final Any_vertex first; public final Any_vertex_list rest; public Nany_vertex_list(Any_vertex first, Any_vertex_list rest){ this.first = first; this.rest = rest; } public boolean equals(Object o){ if(!(o instanceof Nany_vertex_list))return false; Nany_vertex_list oo = (Nany_vertex_list)o; return (((Object)first).equals(oo.first))&&(((Object)rest).equals(oo.rest)); } public static Nany_vertex_list parse(String inpt) throws ParseException{ return new TheParser(new java.io.StringBufferInputStream(inpt)).parse_Nany_vertex_list(); } public static Nany_vertex_list parse(java.io.InputStream inpt) throws ParseException{ return new TheParser(inpt).parse_Nany_vertex_list(); } public static Nany_vertex_list parse(java.io.Reader inpt) throws ParseException{ return new TheParser(inpt).parse_Nany_vertex_list(); } public static class first extends edu.neu.ccs.demeterf.control.Fields.any{} public static class rest extends edu.neu.ccs.demeterf.control.Fields.any{} public String display(){ return gen.Display.DisplayM(this); } public String print(){ return gen.Print.PrintM(this); } public String toStr(){ return gen.ToStr.ToStrM(this); } }