Libraryless. Click here for Pure Java version (2751L/18K).
1 | // note: auto-magic type parameter |
2 | static <A, B> AutoMap<A, B> autoTreeMap(IF0<B> f) {
|
3 | AutoMap<A, B> map = new AutoMap<A, B>(f); |
4 | map.map = new TreeMap; |
5 | ret map; |
6 | } |
Began life as a copy of #1024757
download show line numbers debug dex old transpilations
Travelled to 7 computer(s): bhatertpkbcr, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tvejysmllsmz, vouqrxazstgt, xrpafgyirdlv
No comments. add comment
| Snippet ID: | #1028100 |
| Snippet name: | autoTreeMap |
| Eternal ID of this version: | #1028100/2 |
| Text MD5: | 6792fb979902bd1f6abcda4301fed566 |
| Transpilation MD5: | 02ff9d03c7d78af69396eeec1782378f |
| Author: | stefan |
| Category: | javax |
| Type: | JavaX fragment (include) |
| Public (visible to everyone): | Yes |
| Archived (hidden from active list): | No |
| Created/modified: | 2020-05-23 18:29:57 |
| Source code size: | 173 bytes / 6 lines |
| Pitched / IR pitched: | No / No |
| Views / Downloads: | 502 / 645 |
| Version history: | 1 change(s) |
| Referenced in: | [show references] |