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

3
LINES

< > BotCompany Repo | #1026446 // callPredicate_trueIfNull

JavaX fragment (include)

static <A> bool callPredicate_trueIfNull(IPred<A> pred, A a) {
  ret pred == null || pred.get(a);
}

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: #1026446
Snippet name: callPredicate_trueIfNull
Eternal ID of this version: #1026446/1
Text MD5: ecfead546c8f6eaa89ede4a53a187011
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:22:43
Source code size: 101 bytes / 3 lines
Pitched / IR pitched: No / No
Views / Downloads: 91 / 115
Referenced in: [show references]