1 | static <A, B> F1<A, B> mapGetter(final Map<A, B> map) {
|
2 | ret new F1<A, B>() {
|
3 | B get(A a) { ret map.get(a); }
|
4 | }; |
5 | } |
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: | #1011026 |
| Snippet name: | mapGetter - Map to F1 |
| Eternal ID of this version: | #1011026/2 |
| Text MD5: | ecd0cc6c4cd7163ba75138a67782cdf6 |
| Author: | stefan |
| Category: | javax |
| Type: | JavaX fragment (include) |
| Public (visible to everyone): | Yes |
| Archived (hidden from active list): | No |
| Created/modified: | 2017-10-11 19:24:51 |
| Source code size: | 124 bytes / 5 lines |
| Pitched / IR pitched: | No / No |
| Views / Downloads: | 737 / 798 |
| Version history: | 1 change(s) |
| Referenced in: | [show references] |