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

15
LINES

< > BotCompany Repo | #1028168 // mapToLinkedHashMap - synonym of mapToOrderedMap

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

Libraryless. Click here for Pure Java version (2550L/16K).

1  
static LinkedHashMap mapLike mapToLinkedHashMap(O f, Iterable l) {
2  
  ret mapToOrderedMap(f, l);
3  
}
4  
5  
6  
7  
static <A, B, C> LinkedHashMap<B, C> lambdaMapLike mapToLinkedHashMap(IF1<A, Pair<B, C>> f, Iterable<A> l) {
8  
  ret mapToOrderedMap(f, l);
9  
}
10  
11  
12  
13  
static <A, B, C> LinkedHashMap<B, C> mapToLinkedHashMap(Iterable<A> l, IF1<A, Pair<B, C>> f) {
14  
  ret mapToOrderedMap(l, f);
15  
}

download  show line numbers  debug dex  old transpilations   

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

No comments. add comment

Snippet ID: #1028168
Snippet name: mapToLinkedHashMap - synonym of mapToOrderedMap
Eternal ID of this version: #1028168/4
Text MD5: c9e72a46e6c24c1fbf2697a30a0148fe
Transpilation MD5: 7492e81e9379ee1fc49def994856b036
Author: stefan
Category:
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2020-05-25 13:05:33
Source code size: 383 bytes / 15 lines
Pitched / IR pitched: No / No
Views / Downloads: 200 / 302
Version history: 3 change(s)
Referenced in: [show references]