예제 #1
0
 public boolean canMultiplyAsRhs(CoefficientTerm lhs) {
   return lhs.getValue() == 1;
 }
예제 #2
0
 public Term multiplyAsRhs(CoefficientTerm lhs) {
   Preconditions.checkArgument(lhs.getValue() == 1);
   return this;
 }