add the account to those managed by this bank . the account 's id must be unique . concode_field_sep HashMap<Integer,Account> accountsMap concode_field_sep long totalBalances concode_elem_sep void transfer concode_elem_sep Map<Integer,Account> getAccountsMap concode_elem_sep void deposit concode_elem_sep void deleteAllAccounts
void function ( Account arg0 ) { if ( accountsMap . containsKey ( arg0 . id ( ) ) ) throw new DuplicateAccountException ( arg0 . id ( ) ) ; accountsMap . put ( arg0 . id ( ) , arg0 ) ; }