coins.ffront
Class FInteger
java.lang.Object
coins.ffront.FNumber
coins.ffront.FInteger
- class FInteger
- extends FNumber
|
Field Summary |
(package private) int |
n_
|
|
Constructor Summary |
(package private) |
FInteger(int i)
|
| Methods inherited from class coins.ffront.FNumber |
add, checkType, cmpType, div, higherType, make, make, make, make, make, mul, p, pow, sub |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
n_
int n_
FInteger
FInteger(int i)
add
public FNumber add(FInteger n)
mul
public FNumber mul(FInteger n)
sub
public FNumber sub(FInteger n)
div
public FNumber div(FInteger n)
neg
public FNumber neg()
- Specified by:
neg in class FNumber
intValue
public int intValue()
- Specified by:
intValue in class FNumber
floatValue
public float floatValue()
- Specified by:
floatValue in class FNumber
doubleValue
public double doubleValue()
- Specified by:
doubleValue in class FNumber
complexValue
public Complex complexValue()
- Specified by:
complexValue in class FNumber
to
public FNumber to(FNumber n)
- Specified by:
to in class FNumber
toString
public java.lang.String toString()