Package edu.pdx.cs410J.net
Class ATM
java.lang.Object
edu.pdx.cs410J.net.ATM
- All Implemented Interfaces:
Runnable
- Direct Known Subclasses:
SynchronizedATM
This class demonstrates how concurrent access to a bank account
needs to be synchronized in order to guarantee the balance is
always correct.
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected BankAccountprotected Stringprotected static PrintStreamprotected int[] -
Constructor Summary
Constructors -
Method Summary