java.lang.Object | +--com.cedarspring.tvm.FutureValue
Future Value
Future Value is the amount of money that an investment made today will
grow to at some future date. The investment can be a single sum deposited
during the first period, a series of equally-spaced payments, or both.
Since money has time value, we naturally expect the future value to be
greater than the present value. The difference between the two depends
on the number of compounding periods involved and the going interest rate.
This class will:
| Field Summary | |
private IFTables |
ift
|
(package private) static long |
serialVersionUID
|
private java.math.BigDecimal |
value
|
| Constructor Summary | |
(package private) |
FutureValue()
Construct a default FutureValue Object. |
| Method Summary | |
(package private) void |
computeValue(java.math.BigDecimal ip,
java.math.BigDecimal n,
java.math.BigDecimal pmt,
java.math.BigDecimal pv,
boolean end,
Options o)
Compute Future Value given i, n, pmt and pv passed as BigDecimal values |
(package private) java.math.BigDecimal |
getValue()
Recall future value |
(package private) void |
setValue(java.math.BigDecimal futureValue,
Options o)
Store a new future value and notify listeners |
java.lang.String |
toString()
Return futureValue as a string |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
private java.math.BigDecimal value
private IFTables ift
static final long serialVersionUID
| Constructor Detail |
FutureValue()
| Method Detail |
void setValue(java.math.BigDecimal futureValue,
Options o)
throws TVMException
TVMExceptionjava.math.BigDecimal getValue()
void computeValue(java.math.BigDecimal ip,
java.math.BigDecimal n,
java.math.BigDecimal pmt,
java.math.BigDecimal pv,
boolean end,
Options o)
throws TVMException
TVMExceptionpublic java.lang.String toString()
toString in class java.lang.Object