public interface Numeric
Modifier and Type | Field and Description |
---|---|
static int |
EQUAL |
static int |
LEFT_IS_BIGGER |
static int |
NOT_EQUAL |
static int |
RIGHT_IS_BIGGER |
Modifier and Type | Method and Description |
---|---|
java.lang.Object |
add(java.lang.Object obj)
Adds the value of parameter to itself
|
int |
compareTo(java.lang.Object o)
Compares the object with the parameter.
|
java.lang.Object |
divide(java.lang.Object obj)
Divides itself by the value of parameter
|
java.lang.Object |
inverse()
Inverts itself
|
java.lang.Object |
multiply(java.lang.Object o)
Multiplies itself with the value of parameter
|
java.lang.Object |
negate()
Negates itself by the value of parameter
|
java.lang.Object |
subtract(java.lang.Object obj)
Subtracts the value of parameter from the object
|
static final int NOT_EQUAL
static final int LEFT_IS_BIGGER
static final int RIGHT_IS_BIGGER
static final int EQUAL
java.lang.Object add(java.lang.Object obj)
java.lang.Object subtract(java.lang.Object obj)
java.lang.Object multiply(java.lang.Object o)
java.lang.Object divide(java.lang.Object obj)
java.lang.Object negate()
java.lang.Object inverse()
int compareTo(java.lang.Object o)