|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.ObjectUeberweisungS
public class UeberweisungS
Represents a transactions from "KontoS[a]" to "KontoS[b]" using double "betrag" as amount and an array from KontoS as accounts. Will be deprecated, use Ueberweisung with Konto interface.
| Field Summary | |
|---|---|
(package private) int |
a
|
(package private) int |
b
|
(package private) double |
betrag
|
| Constructor Summary | |
|---|---|
UeberweisungS(int A,
int B,
double be)
|
|
| Method Summary | |
|---|---|
void |
run(KontoS[] konten)
Calls the methods "getGeld() and "putGeld()" to perform the acounting transaction. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
int a
int b
double betrag
| Constructor Detail |
|---|
public UeberweisungS(int A,
int B,
double be)
A - An index to KontoS[].B - An index to KontoS[].be - a double, amount to transfer from account A to account B.| Method Detail |
|---|
public void run(KontoS[] konten)
konten - "KontoS" Array, represents accounts.
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||