package proto; import java.util.HashMap; import java.util.Map; public class Root { static Map<String, Company> companies = new HashMap<>(); static Map<String, Customer> customers = new HashMap<>(); public Root() { companies.put("C1", new Company("Tokyo")); companies.put("C2", new Company("Osaka")); customers.put("A", new Customer("Tokyo",companies.get("C1"))); customers.put("B", new Customer("Tokyo",companies.get("C2"))); } public void Channel1() { } }