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).

1  
sS mapGetString(Map map, O a) {
2  
  ret map == null || a == null ? null : (S) map.get(a);
3  
}
4  
5  
sS mapMethodLike mapGetString(O a, Map map) {
6  
  ret map == null || a == null ? null : (S) map.get(a);
7  
}

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