blob: bad3bda8f2b213ab3747196f79f5b0b2cb13d968 (
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
|
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
|