20 lines
293 B
Java
20 lines
293 B
Java
public class Or extends CaseBonus{
|
|
public int value;
|
|
|
|
public Or(int v, int x, int y){
|
|
super(x, y, "or");
|
|
this.value = v;
|
|
}
|
|
|
|
public String getLabel(){
|
|
return (""+this.value);
|
|
}
|
|
|
|
public int getValue(){
|
|
return this.value;
|
|
}
|
|
|
|
public void setValue(int val){
|
|
this.value = val;
|
|
}
|
|
} |