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

3
LINES

< > BotCompany Repo | #1021261 // applyMapToList_orKeep

JavaX fragment (include)

static <A> L<A> applyMapToList_orKeep(final Map<A> map, L<A> l) {
  ret map(l, func(A a) -> A { getOrKeep(map, a) });
}

download  show line numbers  debug dex  old transpilations   

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

No comments. add comment

Snippet ID: #1021261
Snippet name: applyMapToList_orKeep
Eternal ID of this version: #1021261/2
Text MD5: 4ee831cc39feed08df42e1dd347fefe2
Author: stefan
Category: javax
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2019-02-06 12:32:40
Source code size: 121 bytes / 3 lines
Pitched / IR pitched: No / No
Views / Downloads: 218 / 252
Version history: 1 change(s)
Referenced in: [show references]