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

5
LINES

< > BotCompany Repo | #1028702 // AllElementsSatisfy

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

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

static transformable record AllElementsSatisfy<A>(O pred) implements ITheoryOn<Iterable<A>> {
  public bool check(Iterable l) {
    ret all(pred, l);
  }
}

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: #1028702
Snippet name: AllElementsSatisfy
Eternal ID of this version: #1028702/4
Text MD5: 83e804c1746af1b82360df2a106a6cc4
Transpilation MD5: 75f3c16217db0af7c178aa656ed64a60
Author: stefan
Category: javax
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2020-07-06 01:34:41
Source code size: 159 bytes / 5 lines
Pitched / IR pitched: No / No
Views / Downloads: 165 / 455
Version history: 3 change(s)
Referenced in: [show references]