Package
Class
Tree
Deprecated
Index
Help
PREV NEXT
FRAMES
NO FRAMES
All Classes
B
D
E
G
P
S
T
W
B
BankAccount
- Class in
<Unnamed>
BankAccount(double)
- Constructor for class
BankAccount
Creates a bank account with the given balance.
BankAccount()
- Constructor for class
BankAccount
Creates a bank account with initial balance of zero.
BankAccount(BankAccount)
- Constructor for class
BankAccount
Copy constructor -- creates a bank account that is a copy of the existing bank account
D
deposit(double)
- Method in class
BankAccount
Deposits the given amount to the account.
E
equals(Object)
- Method in class
BankAccount
Checks to see if two bank accounts are equal.
G
getBalance()
- Method in class
BankAccount
Returns the current balance of the account.
getChecking()
- Method in class
Portfolio
Returns the checking account.
P
Portfolio
- Class in
<Unnamed>
Portfolio(BankAccount)
- Constructor for class
Portfolio
Creates a Portfolio with given checking account.
Portfolio()
- Constructor for class
Portfolio
Creates a Portfolio with default checking account.
Portfolio(Portfolio)
- Constructor for class
Portfolio
Creates a copy of the given portfolio.
S
setChecking(BankAccount)
- Method in class
Portfolio
Sets the checking account in the portfolio to the given account.
T
toString()
- Method in class
BankAccount
Transforms the class into a string of the following form (for example, if the balance is 10.56): [BankAccount:balance=10.56]
W
withdraw(double)
- Method in class
BankAccount
Withdraws the given amount from the account and returns true if the resulting balance is positive.
B
D
E
G
P
S
T
W
Package
Class
Tree
Deprecated
Index
Help
PREV NEXT
FRAMES
NO FRAMES
All Classes