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

3
LINES

< > BotCompany Repo | #1026446 // callPredicate_trueIfNull

JavaX fragment (include)

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

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: 159 / 185
Referenced in: [show references]