package ru.matevosyan;

import java.util.*;

public class Account {

    private final int value;
    private final String requisites;

    public int getValue() {
        return value;
    }

    public String getRequisites() {
        return requisites;
    }

    public Account(int value, String requisites) {
        this.value = value;
        this.requisites = requisites;
    }

    private Map<User, List<Account>> accountHolder = new HashMap<>();
    Iterator<Map.Entry<User, List<Account>>> accountHolderIterator = accountHolder.entrySet().iterator();

    public void addUser(User user) {

    }

    public void deleteUser(User user) {

    }

    public void addAccountToUser(User user, Account account) {

    }

    public void deleteAccountFromUser(User user, Account account) {

    }

    public List<Account> getUserAccounts (User user) {

    }

    public boolean transferMoney (User srcUser, Account srcAccount, User dstUser, Account dstAccount, double amount){
        return false;
    }

}

@@ -384,633 +384,6 @@
  %7D%0A%0A
-    private Map%3CUser, List%3CAccount%3E%3E accountHolder = new HashMap%3C%3E();%0A    Iterator%3CMap.Entry%3CUser, List%3CAccount%3E%3E%3E accountHolderIterator = accountHolder.entrySet().iterator();%0A%0A    public void addUser(User user) %7B%0A%0A    %7D%0A%0A    public void deleteUser(User user) %7B%0A%0A    %7D%0A%0A    public void addAccountToUser(User user, Account account) %7B%0A%0A    %7D%0A%0A    public void deleteAccountFromUser(User user, Account account) %7B%0A%0A    %7D%0A%0A    public List%3CAccount%3E getUserAccounts (User user) %7B%0A%0A    %7D%0A%0A    public boolean transferMoney (User srcUser, Account srcAccount, User dstUser, Account dstAccount, double amount)%7B%0A        return false;%0A    %7D%0A%0A
 %7D%0A

change Account