riordinato alcuni package e creato una prima implementazione di set e mergetemplate
This commit is contained in:
18
utility/euler_tour/expressions/ExpressionVariable.java
Normal file
18
utility/euler_tour/expressions/ExpressionVariable.java
Normal file
@@ -0,0 +1,18 @@
|
||||
package utility.euler_tour.expressions;
|
||||
|
||||
/**
|
||||
* Created with MONSTER.
|
||||
* User: xgiovio
|
||||
* Date: 27/04/2014
|
||||
* Time: 13:06
|
||||
*/
|
||||
public class ExpressionVariable extends ExpressionTerm {
|
||||
|
||||
protected Integer var;
|
||||
public ExpressionVariable(Integer x) { var = x; }
|
||||
public void setVariable(Integer x) { var = x; }
|
||||
public Integer getValue() { return var; }
|
||||
public String toString() { return var.toString(); }
|
||||
|
||||
|
||||
}
|
||||
Reference in New Issue
Block a user