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

7
LINES

< > BotCompany Repo | #1003322 // checkCondition - call a predicate object

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

Libraryless. Click here for Pure Java version (4503L/25K).

1  
sbool checkCondition(O condition, O... args) {
2  
  return isTrue(callF(condition, args));
3  
}
4  
5  
static <A> bool checkCondition(IF1<A, Bool> condition, A arg) {
6  
  return isTrue(callF(condition, arg));
7  
}

download  show line numbers  debug dex  old transpilations   

Travelled to 15 computer(s): aoiabmzegqzx, bhatertpkbcr, cbybwowwnfue, cfunsshuasjs, gwrvuhgaqvyk, ishqpsrjomds, lpdgvwnxivlt, mowyntqkapby, mqqgnosmbjvj, onxytkatvevr, pyentgdyhuwx, pzhvpgtvlbxg, tslmcundralx, tvejysmllsmz, vouqrxazstgt

No comments. add comment

Snippet ID: #1003322
Snippet name: checkCondition - call a predicate object
Eternal ID of this version: #1003322/4
Text MD5: 957c277d6935c906a164b9e524a159e2
Transpilation MD5: 04c96c6924774a6ae423b7e5ab9a9dda
Author: stefan
Category: javax
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2019-07-07 18:39:53
Source code size: 202 bytes / 7 lines
Pitched / IR pitched: No / No
Views / Downloads: 723 / 3094
Version history: 3 change(s)
Referenced in: [show references]