예제 #1
0
  /** Returns all bank markets */
  public List<Market> getBankMarkets() {
    List<Market> markets = new ArrayList<Market>();

    for (Bank bank : bankByMarketMap.values()) {
      markets.add(bank.getMarketId());
    }
    return markets;
  }
예제 #2
0
 public BankMap(List<Bank> allBanksForClient) {
   for (Bank bank : allBanksForClient) {
     bankByMarketMap.put(bank.getMarketId().getOrganizationId(), bank);
   }
 }