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

7
LINES

< > BotCompany Repo | #1004220 - pair - make value pair

JavaX fragment (include)

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);
}

Author comment

Began life as a copy of #1004217

download  show line numbers  debug dex   

Travelled to 11 computer(s): aoiabmzegqzx, cbybwowwnfue, cfunsshuasjs, ddnzoavkxhuk, gwrvuhgaqvyk, ishqpsrjomds, lpdgvwnxivlt, mqqgnosmbjvj, tslmcundralx, tvejysmllsmz, whxojlpjdney

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: 370 / 507
Version history: 1 change(s)
Referenced in: [show references]

Formerly at http://tinybrain.de/1004220 & http://1004220.tinybrain.de