Précédent Remonter Suivant


Multiply
public class Multiply implements Task {
BigInteger val1,val2,result;
    
public Multiply(BigInteger pVal1, BigInteger pVal2) {
 this.val1 = pVal1;
 this.val2 = pVal2;
 }
public Object execute() {
 return computeMul();
 }
public BigInteger computeMul() {
 return val1.multiply(val2);
 }
}

- 17 -

  Alain Bouju RMI


Précédent Remonter Suivant