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

3
LINES

< > BotCompany Repo | #1026445 // filterIteratorOnMapElement

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

Libraryless. Click here for Pure Java version (2318L/14K).

static <A, B> IterableIterator<Map<A, B>> mapMethodLike filterIteratorOnMapElement(A key, Cl<Map<A, B>> l, IF1<B, Bool> f) {
  ret filterIterator(l, map -> f.get(mapGet(map, key)));
}

Author comment

Began life as a copy of #1015351

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: #1026445
Snippet name: filterIteratorOnMapElement
Eternal ID of this version: #1026445/1
Text MD5: c2dd32bba0e513cd117857ba84b9ecff
Transpilation MD5: e405c0359f800437447bc167f93c8ffa
Author: stefan
Category: javax
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2020-01-04 17:18:33
Source code size: 185 bytes / 3 lines
Pitched / IR pitched: No / No
Views / Downloads: 147 / 219
Referenced in: #1006654 - Standard functions list 2 (LIVE, continuation of #761)