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

3
LINES

< > BotCompany Repo | #1010254 // pairA - synonym of firstOfPair

JavaX fragment (include)

1  
static <A, B> A pairA(Pair<A, B> p) {
2  
  ret p == null ? null : p.a;
3  
}

Author comment

Began life as a copy of #1009341

download  show line numbers  debug dex  old transpilations   

Travelled to 14 computer(s): aoiabmzegqzx, bhatertpkbcr, cbybwowwnfue, cfunsshuasjs, gwrvuhgaqvyk, ishqpsrjomds, lpdgvwnxivlt, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tslmcundralx, tvejysmllsmz, vouqrxazstgt, xrpafgyirdlv

No comments. add comment

Snippet ID: #1010254
Snippet name: pairA - synonym of firstOfPair
Eternal ID of this version: #1010254/1
Text MD5: 8566c85f1d99ffd4a10eb8db2c22bf97
Author: stefan
Category: javax
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2017-09-07 18:51:21
Source code size: 71 bytes / 3 lines
Pitched / IR pitched: No / No
Views / Downloads: 490 / 561
Referenced in: [show references]