1 | static <A, B> Pair<A, B> pairWithToStringFromA(A a, B b) { |
2 | ret new Pair(a, b) { |
3 | toString { ret str(a); } |
4 | }; |
5 | } |
Began life as a copy of #1004220
download show line numbers debug dex old transpilations
Travelled to 14 computer(s): aoiabmzegqzx, bhatertpkbcr, cbybwowwnfue, cfunsshuasjs, gwrvuhgaqvyk, irmadwmeruwu, ishqpsrjomds, lpdgvwnxivlt, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tslmcundralx, tvejysmllsmz, vouqrxazstgt
No comments. add comment
Snippet ID: | #1017432 |
Snippet name: | pairWithToStringFromA |
Eternal ID of this version: | #1017432/3 |
Text MD5: | f7208ae0c210282e901ea18b94fdaf60 |
Author: | stefan |
Category: | javax |
Type: | JavaX fragment (include) |
Public (visible to everyone): | Yes |
Archived (hidden from active list): | No |
Created/modified: | 2018-07-20 15:33:43 |
Source code size: | 121 bytes / 5 lines |
Pitched / IR pitched: | No / No |
Views / Downloads: | 396 / 437 |
Version history: | 2 change(s) |
Referenced in: | [show references] |