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