summaryrefslogtreecommitdiffstats
path: root/bank-eiffel/bank.e
blob: 7c30afb97a9e1959c403fd369e12af072c7844f4 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
note
	description: "Summary description for {BANK}."
	author: ""
	date: "$Date$"
	revision: "$Revision$"

class
	BANK

create
	make

feature {NONE} -- Implementation

	customers: ARRAYED_SET [PERSON]
			-- Kunden

	accounts: ARRAYED_SET [ACCOUNT]
			-- Vorname

feature {NONE} -- Initialization

	make
		do
			create customers.make(100)
			create accounts.make(100)
		end

feature -- Basic operations

	get_customers: FINITE [PERSON]
		do
			Result := customers
		end

	get_accounts: FINITE [ACCOUNT]
		do
			Result := accounts
		end

end