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

3
LINES

< > BotCompany Repo | #1010253 // pairB - synonym of secondOfPair

JavaX fragment (include)

static <A, B> B pairB(Pair<A, B> p) {
  ret p == null ? null : p.b;
}

Author comment

Began life as a copy of #1009340

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: #1010253
Snippet name: pairB - synonym of secondOfPair
Eternal ID of this version: #1010253/1
Text MD5: 3dfd4a3ee12e8d0fe94258b63ebb5d90
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:50:52
Source code size: 71 bytes / 3 lines
Pitched / IR pitched: No / No
Views / Downloads: 435 / 452
Referenced in: #1006654 - Standard functions list 2 (LIVE, continuation of #761)
#1011060 - tripleB
#1014932 - pairBNotNull