Not logged in.  Login/Logout/Register | List snippets | | Create snippet | Upload image | Upload data

10
LINES

< > BotCompany Repo | #1021471 // mapEquals_ciValues - assumes maps are ciMaps

JavaX fragment (include)

sbool mapEquals_ciValues(SS map1, SS map2) {
  if (l(map1) != l(map2)) false;
  Iterator<S> i1 = keysIterator(map1), i2 = keysIterator(map2);
  while (i1.hasNext()) {
    S key1 = i1.next(), key2 = i2.next();
    if (neqic(key1, key2)) false;
    if (neqic(map1.get(key1), map2.get(key2))) false;
  }
  true;
}

Author comment

Began life as a copy of #1021470

download  show line numbers  debug dex  old transpilations   

Travelled to 7 computer(s): bhatertpkbcr, cfunsshuasjs, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tvejysmllsmz, vouqrxazstgt

No comments. add comment

Snippet ID: #1021471
Snippet name: mapEquals_ciValues - assumes maps are ciMaps
Eternal ID of this version: #1021471/2
Text MD5: a8bd903ece234b2273aea090451053ee
Author: stefan
Category: javax
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2019-03-02 18:19:53
Source code size: 319 bytes / 10 lines
Pitched / IR pitched: No / No
Views / Downloads: 263 / 299
Version history: 1 change(s)
Referenced in: [show references]