Exemplo n.º 1
0
 ///
 ///	 <summary> * constructs a JDFIntegerRangeList with the given JDFIntegerRange and sets xDef
 ///	 *  </summary>
 ///	 * <param name="ir"> the given JDFIntegerRange </param>
 ///
 public JDFIntegerRangeList(JDFIntegerRange ir)
 {
     rangeList = new ArrayList();
     rangeList.Add(ir);
     setDef(ir.getDef());
 }
Exemplo n.º 2
0
 ///
 ///	 <summary> * constructs a JDFIntegerRangeList with the given string the default value for -1 is set to 0, i.e positive and
 ///	 * negative numbers are handled explicitly
 ///	 *  </summary>
 ///	 * <param name="s"> - the given string
 ///	 *  </param>
 ///	 * <exception cref="FormatException"> - if the String has not a valid format </exception>
 ///
 public JDFIntegerRangeList(string s)
     : this(s, JDFIntegerRange.getDefaultDef())
 {
 }