1 | sbool mapEquals_ciValues(SS map1, SS map2) { |
2 | if (l(map1) != l(map2)) false; |
3 | Iterator<S> i1 = keysIterator(map1), i2 = keysIterator(map2); |
4 | while (i1.hasNext()) { |
5 | S key1 = i1.next(), key2 = i2.next(); |
6 | if (neqic(key1, key2)) false; |
7 | if (neqic(map1.get(key1), map2.get(key2))) false; |
8 | } |
9 | true; |
10 | } |
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: | 265 / 301 |
Version history: | 1 change(s) |
Referenced in: | [show references] |