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

7
LINES

< > BotCompany Repo | #1024974 // mapGetString

JavaX fragment (include) [tags: use-pretranspiled]

Libraryless. Click here for Pure Java version (32L/1K).

sS mapGetString(Map map, O a) {
  ret map == null || a == null ? null : (S) map.get(a);
}

sS mapMethodLike mapGetString(O a, Map map) {
  ret map == null || a == null ? null : (S) map.get(a);
}

Author comment

Began life as a copy of #1008055

download  show line numbers  debug dex  old transpilations   

Travelled to 6 computer(s): bhatertpkbcr, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tvejysmllsmz, vouqrxazstgt

No comments. add comment

Snippet ID: #1024974
Snippet name: mapGetString
Eternal ID of this version: #1024974/2
Text MD5: 5c0fcf4c6a71052584a6a491f673dd8d
Transpilation MD5: 9b122868ce4745a79dd71beabdb6208a
Author: stefan
Category: javax
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2019-08-31 21:49:32
Source code size: 200 bytes / 7 lines
Pitched / IR pitched: No / No
Views / Downloads: 140 / 208
Version history: 1 change(s)
Referenced in: [show references]