
package innovimax.mixthem.arguments;

/**
* <p>This is the representation of a parameter value.</p>
* @author Innovimax
* @version 1.0
*/
public class ParamValue { 
	
	//private final String text;
	private final int number;
	
	/**
	* Constructor
	* @param text The String value of the parameter.	
	*/ 	
	/*public ParamValue(String text) {
		this.text = test;
		this.number = -1;
	}*/

	/**
	* Constructor
	* @param number The Integer value of the parameter.	
	*/ 	
	public ParamValue(int number) {
		//this.text = null;
		this.number = number;
	}
	
	/**
	* Returns the parameter value as a String.
	* @return The parameter value as a String
	*/
	/*public String stringValue() {
		return this.text;
	}*/

	/**
	* Returns the parameter value as an Integer.
	* @return The parameter value as an Integer
	*/
	public int intValue() {
		return this.number;
	}

}

@@ -162,18 +162,16 @@
 e %7B %0A%09%0A%09
-//
 private 
@@ -189,16 +189,16 @@
 g text;%0A
+
 %09private
@@ -296,18 +296,16 @@
 %0A%09*/ %09%0A%09
-/*
 public P
@@ -367,26 +367,24 @@
 ber = -1;%0A%09%7D
-*/
 %0A%0A%09/**%0A%09* Co
@@ -492,10 +492,8 @@
 %7B%0A%09%09
-//
 this
@@ -632,18 +632,16 @@
 ng%0A%09*/%0A%09
-/*
 public S
@@ -686,12 +686,10 @@
 xt;%0A
+
 %09%7D
-*/
 %0A%0A%09/

enable code