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

static LinkedHashMap mapLike mapToLinkedHashMap(O f, Iterable l) {
  ret mapToOrderedMap(f, l);
}



static <A, B, C> LinkedHashMap<B, C> lambdaMapLike mapToLinkedHashMap(IF1<A, Pair<B, C>> f, Iterable<A> l) {
  ret mapToOrderedMap(f, l);
}



static <A, B, C> LinkedHashMap<B, C> mapToLinkedHashMap(Iterable<A> l, IF1<A, Pair<B, C>> f) {
  ret mapToOrderedMap(l, f);
}

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: 198 / 298
Version history: 3 change(s)
Referenced in: [show references]