1 | static <A> void mapPutInRange(Map<Int, A> map, int start, int end, A value) { |
2 | if (map != null && value != null) |
3 | for (int i = start; i < end; i++) |
4 | map.put(i, value); |
5 | } |
Began life as a copy of #1007227
download show line numbers debug dex old transpilations
Travelled to 13 computer(s): aoiabmzegqzx, bhatertpkbcr, cbybwowwnfue, cfunsshuasjs, gwrvuhgaqvyk, ishqpsrjomds, lpdgvwnxivlt, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tslmcundralx, tvejysmllsmz, vouqrxazstgt
No comments. add comment
Snippet ID: | #1008781 |
Snippet name: | mapPutInRange - put into int range of keys |
Eternal ID of this version: | #1008781/2 |
Text MD5: | 05685e1e1dbb4004979b0c3e2e88d6e3 |
Author: | stefan |
Category: | javax |
Type: | JavaX fragment (include) |
Public (visible to everyone): | Yes |
Archived (hidden from active list): | No |
Created/modified: | 2017-06-03 17:01:12 |
Source code size: | 183 bytes / 5 lines |
Pitched / IR pitched: | No / No |
Views / Downloads: | 451 / 526 |
Version history: | 1 change(s) |
Referenced in: | [show references] |