Index

A D G M S 
All Classes and Interfaces|All Packages

A

Account - Class in de.hdm_stuttgart.mi.sd1.interest
Dealing with account balances and interest calculations.
Account() - Constructor for class de.hdm_stuttgart.mi.sd1.interest.Account
Create a new account having a balance of 0.
Account(double) - Constructor for class de.hdm_stuttgart.mi.sd1.interest.Account
Create a new account of given initial balance.
App - Class in de.hdm_stuttgart.mi.sd1.interest
Testing simple accounts
App() - Constructor for class de.hdm_stuttgart.mi.sd1.interest.App
 
applyInterest() - Method in class de.hdm_stuttgart.mi.sd1.interest.Account
Convenience method to {Account.applyInterest(int)}: Adding one year's interest to the current balance according to:
applyInterest(int) - Method in class de.hdm_stuttgart.mi.sd1.interest.Account
Adding the accumulated interest of a given number of years to the current balance according to:

D

de.hdm_stuttgart.mi.sd1.interest - package de.hdm_stuttgart.mi.sd1.interest
 

G

getAssetInterestRate() - Static method in class de.hdm_stuttgart.mi.sd1.interest.Account
 
getBalance() - Method in class de.hdm_stuttgart.mi.sd1.interest.Account
 
getDebtInterestRate() - Static method in class de.hdm_stuttgart.mi.sd1.interest.Account
 
getYearlyInterest() - Method in class de.hdm_stuttgart.mi.sd1.interest.Account
Calculate the expected annual interest without changing the account's balance.

M

main(String[]) - Static method in class de.hdm_stuttgart.mi.sd1.interest.App
 

S

setAssetInterestRate(double) - Static method in class de.hdm_stuttgart.mi.sd1.interest.Account
Setting the interest rate common to all accounts.
setBalance(double) - Method in class de.hdm_stuttgart.mi.sd1.interest.Account
Setting a (possibly) new balance.
setDebtInterestRate(double) - Static method in class de.hdm_stuttgart.mi.sd1.interest.Account
This interest rate will be applied to negative balances.
A D G M S 
All Classes and Interfaces|All Packages