1 | static TreeMap mapLike indexByCalculatedField_treeMap(O f, Iterable c) {
|
2 | new TreeMap map; |
3 | if (c != null) for (O a : c) {
|
4 | O val = callF(f, a); |
5 | if (val != null) |
6 | map.put(val, a); |
7 | } |
8 | ret map; |
9 | } |
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: | 514 / 529 |
| Referenced in: | [show references] |