// ** This file was generated with DemFGen (vers:4/15/2011) package nwf; import edu.neu.ccs.demeterf.lib.*; import edu.neu.ccs.demeterf.lib.*; import scg.*; import edu.neu.ccs.demeterf.lib.*; import edu.neu.ccs.demeterf.*; import java.util.Iterator; /** Representation of EdgeFlow */ public class EdgeFlow{ protected int v; /** Construct a(n) EdgeFlow Instance */ public EdgeFlow(int v){ this.v = v; } /** Is the given object Equal to this EdgeFlow? */ public boolean equals(Object o){ if(!(o instanceof EdgeFlow))return false; if(o == this)return true; EdgeFlow oo = (EdgeFlow)o; return (((Object)v).equals(oo.v)); } /** Parse an instance of EdgeFlow from the given String */ public static EdgeFlow parse(String inpt) throws nwf.ParseException{ return new nwf.TheParser(new java.io.StringReader(inpt)).parse_EdgeFlow(); } /** Parse an instance of EdgeFlow from the given Stream */ public static EdgeFlow parse(java.io.InputStream inpt) throws nwf.ParseException{ return new nwf.TheParser(inpt).parse_EdgeFlow(); } /** Parse an instance of EdgeFlow from the given Reader */ public static EdgeFlow parse(java.io.Reader inpt) throws nwf.ParseException{ return new nwf.TheParser(inpt).parse_EdgeFlow(); } /** Field Class for EdgeFlow.v */ public static class v extends edu.neu.ccs.demeterf.Fields.any{} /** DGP method from Class Display */ public String display(){ return nwf.Display.DisplayM(this); } /** DGP method from Class Print */ public String print(){ return nwf.Print.PrintM(this); } /** DGP method from Class ToStr */ public String toStr(){ return nwf.ToStr.ToStrM(this); } /** DGP method from Class PrintToString */ public String toString(){ return nwf.PrintToString.PrintToStringM(this); } /** DGP method from Class HashCode */ public int hashCode(){ return nwf.HashCode.HashCodeM(this); } /** Setter for field EdgeFlow.v */ public void setV(int _v){ v = _v; } /** Getter for field EdgeFlow.v */ public int getV(){ return v; } }