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

7
LINES

< > BotCompany Repo | #1008055 // mapGet

JavaX fragment (include)

static <A, B> B mapGet(Map<A, B> map, A a) {
  ret map == null || a == null ? null : map.get(a);
}

static <A, B> B mapMethodLike mapGet(A a, Map<A, B> map) {
  ret map == null || a == null ? null : map.get(a);
}

download  show line numbers  debug dex  old transpilations   

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

No comments. add comment

Snippet ID: #1008055
Snippet name: mapGet
Eternal ID of this version: #1008055/2
Text MD5: 0d94e5d56dce58e3a37b1066f3c1778e
Author: stefan
Category: javax
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2019-01-31 05:55:52
Source code size: 218 bytes / 7 lines
Pitched / IR pitched: No / No
Views / Downloads: 759 / 811
Version history: 1 change(s)
Referenced in: [show references]