static <A> void putHigherInt(Map<A, Int> map, A a, int i) { Int x = map.get(a); if (x == null || i > x) map.put(a, i); }
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: | #1010996 |
| Snippet name: | putHigherInt - replace map value with higher value |
| Eternal ID of this version: | #1010996/2 |
| Text MD5: | fe5406b820eb4d93f8b68cbc90bdd229 |
| Author: | stefan |
| Category: | javax |
| Type: | JavaX fragment (include) |
| Public (visible to everyone): | Yes |
| Archived (hidden from active list): | No |
| Created/modified: | 2017-10-11 03:22:01 |
| Source code size: | 127 bytes / 4 lines |
| Pitched / IR pitched: | No / No |
| Views / Downloads: | 583 / 620 |
| Version history: | 1 change(s) |
| Referenced in: | #1006654 - Standard functions list 2 (LIVE, continuation of #761) |