final Map<Integer, Company> companies = new HashMap<Integer, Company>();
public CompanyServiceImpl() {
int c1id = companies.size();
Company companyOne = new Company(c1id);
companyOne.title = "Google";
companies.put(c1id, companyOne);
int c2id = companies.size();
Company companyTwo = new Company(c2id);
companyTwo.title = "Apple";
companies.put(c2id, companyTwo);
int c3id = companies.size();
Company companyThree = new Company(c3id);
companyThree.title = "Microsoft";
companies.put(c3id, companyThree);
}