polya
Class Arith
java.lang.Object
|
+--polya.Arith
- public class Arith
- extends java.lang.Object
Constructor Summary |
Arith()
|
Method Summary |
static java.lang.Number |
add(java.lang.Object v1,
java.lang.Object v2)
|
static java.lang.Number |
divide(java.lang.Object v1,
java.lang.Object v2)
|
static boolean |
equal(java.lang.Object v1,
java.lang.Object v2)
|
static boolean |
greaterThan(java.lang.Object v1,
java.lang.Object v2)
|
static boolean |
greaterThanOrEqual(java.lang.Object v1,
java.lang.Object v2)
|
static java.lang.Number |
mod(java.lang.Object v1,
java.lang.Object v2)
|
static java.lang.Number |
multiply(java.lang.Object v1,
java.lang.Object v2)
|
static java.lang.Number |
subtract(java.lang.Object v1,
java.lang.Object v2)
|
Methods inherited from class java.lang.Object |
clone,
equals,
finalize,
getClass,
hashCode,
notify,
notifyAll,
toString,
wait,
wait,
wait |
Arith
public Arith()
greaterThan
public static boolean greaterThan(java.lang.Object v1,
java.lang.Object v2)
greaterThanOrEqual
public static boolean greaterThanOrEqual(java.lang.Object v1,
java.lang.Object v2)
equal
public static boolean equal(java.lang.Object v1,
java.lang.Object v2)
add
public static java.lang.Number add(java.lang.Object v1,
java.lang.Object v2)
subtract
public static java.lang.Number subtract(java.lang.Object v1,
java.lang.Object v2)
multiply
public static java.lang.Number multiply(java.lang.Object v1,
java.lang.Object v2)
divide
public static java.lang.Number divide(java.lang.Object v1,
java.lang.Object v2)
mod
public static java.lang.Number mod(java.lang.Object v1,
java.lang.Object v2)