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

7
LINES

< > BotCompany Repo | #1035829 // mapsGet

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

Transpiled version (9241L) is out of date.

1  
static <A, B> L<B> mapsGet(A key, Iterable<? extends Map<A, B>> maps) {
2  
  ret map(maps, map -> map?.get(key));
3  
}
4  
5  
static <A, B> L<B> mapsGet(Iterable<? extends Map<A, B>> maps, A key) {
6  
  ret mapsGet(key, maps);
7  
}

download  show line numbers  debug dex  old transpilations   

Travelled to 3 computer(s): elmgxqgtpvxh, mqqgnosmbjvj, wnsclhtenguj

No comments. add comment

Snippet ID: #1035829
Snippet name: mapsGet
Eternal ID of this version: #1035829/2
Text MD5: 25bb6dd2e80bf2b6f091172ab94b4a42
Author: stefan
Category: javax
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2022-08-02 16:21:10
Source code size: 215 bytes / 7 lines
Pitched / IR pitched: No / No
Views / Downloads: 114 / 167
Version history: 1 change(s)
Referenced in: [show references]