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

5
LINES

< > BotCompany Repo | #1027852 // expandAutoMap

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

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

static <A, B> Map<A, B> expandAutoMap(Iterable<A> keys, Map<A, B> map) {
  if (map == null) null;
  fOr (A a : keys) map.get(a);
  ret map;
}

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: #1027852
Snippet name: expandAutoMap
Eternal ID of this version: #1027852/1
Text MD5: ca5fc20dbd36979d6db496130649994e
Transpilation MD5: 275699fb30110398c1a10355cb328320
Author: stefan
Category: java
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2020-04-15 13:00:35
Source code size: 145 bytes / 5 lines
Pitched / IR pitched: No / No
Views / Downloads: 108 / 172
Referenced in: [show references]