static TreeMap mapLike indexByCalculatedField_treeMap(O f, Iterable c) { new TreeMap map; if (c != null) for (O a : c) { O val = callF(f, a); if (val != null) map.put(val, a); } ret map; }
Began life as a copy of #1012274
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: | #1022494 |
| Snippet name: | indexByCalculatedField_treeMap |
| Eternal ID of this version: | #1022494/1 |
| Text MD5: | fa69bb5680ea9ef01e690af32a6c5afe |
| Author: | stefan |
| Category: | javax |
| Type: | JavaX fragment (include) |
| Public (visible to everyone): | Yes |
| Archived (hidden from active list): | No |
| Created/modified: | 2019-03-19 10:49:29 |
| Source code size: | 218 bytes / 9 lines |
| Pitched / IR pitched: | No / No |
| Views / Downloads: | 510 / 524 |
| Referenced in: | [show references] |