// ** This class was generated with DemFGen (vers:02/11/2009) package gen; import edu.neu.ccs.demeterf.demfgen.lib.*; import edu.neu.ccs.demeterf.*; /** Representation of Nany_vertex_list */ public class Nany_vertex_list extends Any_vertex_list{ public final Any_vertex first; public final Any_vertex_list rest; /** Construct a(n) Nany_vertex_list Instance */ public Nany_vertex_list(Any_vertex first, Any_vertex_list rest){ this.first = first; this.rest = rest; } /** Is the given Nany_vertex_list Equal to this one? */ 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)); } /** Parse an instance of Nany_vertex_list from the given String */ public static Nany_vertex_list parse(String inpt) throws ParseException{ return new TheParser(new java.io.StringReader(inpt)).parse_Nany_vertex_list(); } /** Parse an instance of Nany_vertex_list from the given Stream */ public static Nany_vertex_list parse(java.io.InputStream inpt) throws ParseException{ return new TheParser(inpt).parse_Nany_vertex_list(); } /** Parse an instance of Nany_vertex_list from the given Reader */ public static Nany_vertex_list parse(java.io.Reader inpt) throws ParseException{ return new TheParser(inpt).parse_Nany_vertex_list(); } /** Field Class for Nany_vertex_list.first */ public static class first extends edu.neu.ccs.demeterf.control.Fields.any{} /** Field Class for Nany_vertex_list.rest */ public static class rest 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); } }