Not logged in.  Login/Logout/Register | List snippets | | Create snippet | Upload image | Upload data

5
LINES

< > BotCompany Repo | #1017432 // pairWithToStringFromA

JavaX fragment (include)

static <A, B> Pair<A, B> pairWithToStringFromA(A a, B b) {
  ret new Pair(a, b) {
    toString { ret str(a); }
  };
}

Author comment

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: 395 / 435
Version history: 2 change(s)
Referenced in: [show references]