com.cedarspring.tvm
Class FutureValue

java.lang.Object
  |
  +--com.cedarspring.tvm.FutureValue
All Implemented Interfaces:
java.io.Serializable

final class FutureValue
extends java.lang.Object
implements java.io.Serializable

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:

Version:
1.2.2 15-May-2003
Author:
Cedar Spring Software, Inc.

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

value

private java.math.BigDecimal value

ift

private IFTables ift

serialVersionUID

static final long serialVersionUID
See Also:
Constant Field Values
Constructor Detail

FutureValue

FutureValue()
Construct a default FutureValue Object.

Method Detail

setValue

void setValue(java.math.BigDecimal futureValue,
              Options o)
        throws TVMException
Store a new future value and notify listeners

TVMException

getValue

java.math.BigDecimal getValue()
Recall future value


computeValue

void computeValue(java.math.BigDecimal ip,
                  java.math.BigDecimal n,
                  java.math.BigDecimal pmt,
                  java.math.BigDecimal pv,
                  boolean end,
                  Options o)
            throws TVMException
Compute Future Value given i, n, pmt and pv passed as BigDecimal values

TVMException

toString

public java.lang.String toString()
Return futureValue as a string

Overrides:
toString in class java.lang.Object