1 | static <A> bool mapPut_trueIfChangedIC(Map<A, S> map, A key, S value) { |
2 | if (map != null && key != null && value != null) |
3 | if (eqic(map.get(key), value)) false; |
4 | else ret true with map.put(key, value); |
5 | false; |
6 | } |
Began life as a copy of #1015755
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: | #1022373 |
Snippet name: | mapPut_trueIfChangedIC |
Eternal ID of this version: | #1022373/1 |
Text MD5: | 57548c9f47fadb9ea20a098485da6fa5 |
Author: | stefan |
Category: | javax |
Type: | JavaX fragment (include) |
Public (visible to everyone): | Yes |
Archived (hidden from active list): | No |
Created/modified: | 2019-03-16 11:47:51 |
Source code size: | 224 bytes / 6 lines |
Pitched / IR pitched: | No / No |
Views / Downloads: | 278 / 301 |
Referenced in: | [show references] |