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).

static IProbabilistic toProbabilistic(IProbabilistic p) {
  ret p;
}

static IProbabilistic toProbabilistic(Runnable r) {
  if (r cast IProbabilistic) ret r;
  ret runnableToProbabilistic(r);
}

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: 137 / 200
Version history: 1 change(s)
Referenced in: #1006654 - Standard functions list 2 (LIVE, continuation of #761)