// ** This class was generated with DemFGen (vers:06/04/2009) package gen; import edu.neu.ccs.demeterf.demfgen.lib.*; import edu.neu.ccs.demeterf.*; /** Representation of Range */ public class Range extends NumberConstraint{ public final T low; public final T high; /** Construct a(n) Range Instance */ public Range(T low, T high){ this.low = low; this.high = high; } /** Is the given object Equal to this Range? */ public boolean equals(Object o){ if(!(o instanceof Range))return false; if(o == this)return true; Range oo = (Range)o; return (((Object)low).equals(oo.low))&&(((Object)high).equals(oo.high)); } /** Field Class for Range.low */ public static class low extends edu.neu.ccs.demeterf.control.Fields.any{} /** Field Class for Range.high */ public static class high 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); } }