static <A, B> Pair<A, B> pair(A a, B b) { ret new Pair(a, b); } static <A> Pair<A> pair(A a) { ret new Pair(a, a); }
Began life as a copy of #1004217
download show line numbers debug dex old transpilations
Travelled to 17 computer(s): aoiabmzegqzx, bhatertpkbcr, cbybwowwnfue, cfunsshuasjs, ddnzoavkxhuk, gwrvuhgaqvyk, ishqpsrjomds, lpdgvwnxivlt, mowyntqkapby, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tslmcundralx, tvejysmllsmz, vouqrxazstgt, whxojlpjdney, xrpafgyirdlv
No comments. add comment
Snippet ID: | #1004220 |
Snippet name: | pair - make value pair |
Eternal ID of this version: | #1004220/2 |
Text MD5: | ba0209642c257cd363261bc2e2b0f4a5 |
Author: | stefan |
Category: | javax |
Type: | JavaX fragment (include) |
Public (visible to everyone): | Yes |
Archived (hidden from active list): | No |
Created/modified: | 2017-11-09 05:42:01 |
Source code size: | 127 bytes / 7 lines |
Pitched / IR pitched: | No / No |
Views / Downloads: | 826 / 1018 |
Version history: | 1 change(s) |
Referenced in: | #1006654 - Standard functions list 2 (LIVE, continuation of #761) #1017432 - pairWithToStringFromA #1021561 - pairWithFalse - pair(a, false) #1028896 - intPair - make IntPair #1036201 - pairIfBNotNull |