15 lines
246 B
Java
15 lines
246 B
Java
|
package Arithmetics;
|
||
|
|
||
|
import java.math.BigInteger;
|
||
|
|
||
|
/**
|
||
|
* Created by Tzlil on 3/17/2016.
|
||
|
*/
|
||
|
public interface Arithmetic<T> {
|
||
|
BigInteger add(T a,T b);
|
||
|
BigInteger sub(T a,T b);
|
||
|
BigInteger mul(T a,T b);
|
||
|
BigInteger div(T a,T b);
|
||
|
|
||
|
}
|