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

8
LINES

< > BotCompany Repo | #1033148 // toProbabilistic

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

Libraryless. Click here for Pure Java version (6027L/35K).

1  
static IProbabilistic toProbabilistic(IProbabilistic p) {
2  
  ret p;
3  
}
4  
5  
static IProbabilistic toProbabilistic(Runnable r) {
6  
  if (r cast IProbabilistic) ret r;
7  
  ret runnableToProbabilistic(r);
8  
}

download  show line numbers  debug dex  old transpilations   

Travelled to 3 computer(s): bhatertpkbcr, mowyntqkapby, mqqgnosmbjvj

No comments. add comment

Snippet ID: #1033148
Snippet name: toProbabilistic
Eternal ID of this version: #1033148/2
Text MD5: 56aca672397eda96841132e64bf38713
Transpilation MD5: af271fb83c90525efc8dfaadc43a6e11
Author: stefan
Category: javax / probabilistic scheduling
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2021-10-15 18:55:50
Source code size: 200 bytes / 8 lines
Pitched / IR pitched: No / No
Views / Downloads: 138 / 201
Version history: 1 change(s)
Referenced in: [show references]