Package bank

Examples of bank.ClientId


        for (int i = 0; i < agencies.size(); i++) {
            String an = (String) agencies.get(i);
            System.out.println("Agency '" + an + "':");
            List clients = ba.getClients(an);
            for (int j = 0; j < clients.size(); j++) {
                ClientId cid = (ClientId) clients.get(j);
                System.out.println("\t- Client '" + cid + "':");
                List accounts = ba.getAccounts(an, cid);
                for (int k = 0; k < accounts.size(); k++) {
                    AccountInfo ai = (AccountInfo) accounts.get(k);
                    System.out.println("\t\t- Account " + ai.number + " : " + ai.solde);
View Full Code Here


        for (int i = 0; i < agencies.size(); i++) {
            String an = (String) agencies.get(i);
            System.out.println("Agency '" + an + "':");
            List clients = ba.getClients(an);
            for (int j = 0; j < clients.size(); j++) {
                ClientId cid = (ClientId) clients.get(j);
                System.out.println("\t- Client '" + cid + "':");
                List accounts = ba.getAccounts(an, cid);
                for (int k = 0; k < accounts.size(); k++) {
                    AccountInfo ai = (AccountInfo) accounts.get(k);
                    System.out.println("\t\t- Account " + ai.number + " : " + ai.solde);
View Full Code Here

TOP

Related Classes of bank.ClientId

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.