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

5
LINES

< > BotCompany Repo | #1026447 // filterIterator_predicatesOnLine1AndLine2

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

Libraryless. Click here for Pure Java version (2323L/15K).

static ItIt<SS> filterIterator_predicatesOnLine1AndLine2(IPred<S> predOnLine1, IPred<S> predOnLine2, Cl<SS> l) {
  ret filterIterator(l, map -> 
    callPredicate_trueIfNull(predOnLine1, mapGet(map, "line 1")) &&
    callPredicate_trueIfNull(predOnLine2, mapGet(map, "line 2")));
}

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: #1026447
Snippet name: filterIterator_predicatesOnLine1AndLine2
Eternal ID of this version: #1026447/1
Text MD5: f73cc093e23bb2645c8043e27b022125
Transpilation MD5: 6bacefa0dfea637104de843c072eb9cd
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:23:12
Source code size: 285 bytes / 5 lines
Pitched / IR pitched: No / No
Views / Downloads: 168 / 244
Referenced in: #1006654 - Standard functions list 2 (LIVE, continuation of #761)