// ** This class was generated with DemFGen (vers:11/03/2008) package gen; import java.io.FileInputStream; import edu.neu.ccs.demeterf.demfgen.lib.*; public class Price{ public final double val; public Price(double val){ this.val = val; } public boolean equals(Object o){ if(!(o instanceof Price))return false; Price oo = (Price)o; return (((Object)val).equals(oo.val)); } public static Price parse(String inpt) throws ParseException{ return new TheParser(new java.io.StringReader(inpt)).parse_Price(); } public static Price parse(java.io.InputStream inpt) throws ParseException{ return new TheParser(inpt).parse_Price(); } public static Price parse(java.io.Reader inpt) throws ParseException{ return new TheParser(inpt).parse_Price(); } public static class val 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); } }