|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Objecteos.bank.Bank.Account
public static class Bank.Account
An account of an agent
Field Summary | |
---|---|
double |
interest
interest in the last step |
double |
priIC
primary income in the last step |
double |
secIC
secondary income in the last step |
Constructor Summary | |
---|---|
Bank.Account(double checkingBal,
double savingsBal)
Create a new account with checking account balance checkingBal and savings account balance savingsBal |
Method Summary | |
---|---|
double |
getBalance(int acctType)
Return the balance of acctType |
Methods inherited from class Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public double priIC
public double secIC
public double interest
Constructor Detail |
---|
public Bank.Account(double checkingBal, double savingsBal)
Method Detail |
---|
public double getBalance(int acctType)
acctType
-
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |