Advertisement
Guest User

Untitled

a guest
Sep 19th, 2017
60
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.61 KB | None | 0 0
  1. public static CustomLimitAccounts customLimitAccountsInClusterMapToCustomLimitAccounts(Map<Integer, List<AccountLimit>> customLimitsInCluster) {
  2. List<Integer> accountIds = new ArrayList<Integer>(customLimitsInCluster.keySet());
  3. Collections.sort(accountIds);
  4. CustomLimitAccounts accounts = new CustomLimitAccounts();
  5. CustomLimitAccount account = new CustomLimitAccount();
  6. CustomLimits limits = new CustomLimits();
  7. CustomLimit limit = new CustomLimit();
  8. for (Integer id : accountIds) {
  9. account.setAccountId(id);
  10. accounts
  11. }
  12. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement