feat: add advanced multithreading banking system skeleton

This commit is contained in:
2026-06-03 16:48:39 +03:30
parent 1b38f250e5
commit ac35c817ee
7 changed files with 250 additions and 0 deletions
@@ -0,0 +1,23 @@
package dev.banking.monitor;
import dev.banking.model.BankAccount;
import java.util.Collection;
public class LiveMonitor {
public void update(
Collection<BankAccount> accounts
) {
for (BankAccount account : accounts) {
System.out.printf(
"Account %d -> %d%n",
account.getAccountId(),
account.getBalance()
);
}
}
}