Rename
This commit is contained in:
parent
99c8de87b1
commit
a05b2fbeee
2 changed files with 4 additions and 4 deletions
|
@ -23,8 +23,8 @@ public class IntWord extends Word {
|
||||||
return new IntWord(value - (Integer) other.getValue());
|
return new IntWord(value - (Integer) other.getValue());
|
||||||
}
|
}
|
||||||
|
|
||||||
public Word multiply(Word value) {
|
public Word multiply(Word other) {
|
||||||
return new IntWord(this.value * (Integer) value.getValue());
|
return new IntWord(this.value * (Integer) other.getValue());
|
||||||
}
|
}
|
||||||
|
|
||||||
public Word divide(Word other) {
|
public Word divide(Word other) {
|
||||||
|
|
|
@ -23,8 +23,8 @@ public class LongWord extends Word {
|
||||||
return new LongWord(value - (Long) other.getValue());
|
return new LongWord(value - (Long) other.getValue());
|
||||||
}
|
}
|
||||||
|
|
||||||
public Word multiply(Word value) {
|
public Word multiply(Word other) {
|
||||||
return new LongWord(this.value * (Long) value.getValue());
|
return new LongWord(this.value * (Long) other.getValue());
|
||||||
}
|
}
|
||||||
|
|
||||||
public Word divide(Word other) {
|
public Word divide(Word other) {
|
||||||
|
|
Loading…
Reference in a new issue