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

7
LINES

< > BotCompany Repo | #1035017 // combineSteppables - round-robins them until none are left

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

Libraryless. Click here for Pure Java version (10209L/56K).

static Steppable combineSteppables(Iterable<? extends Steppable> steppables) {
  ret iteratorToSteppable(roundRobinCombinedIterator(map steppableToIterator(steppables)));
}

static <A extends Steppable> Steppable combineSteppables(A... steppables) {
  ret combineSteppables(asList(steppables));
}

Author comment

Began life as a copy of #1027220

download  show line numbers  debug dex  old transpilations   

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

No comments. add comment

Snippet ID: #1035017
Snippet name: combineSteppables - round-robins them until none are left
Eternal ID of this version: #1035017/2
Text MD5: 2d66e3abecea967d543e4a8895d58f95
Transpilation MD5: 651af3fe9d75b0c9ce4dbfc062ee98e2
Author: stefan
Category: javax
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2022-03-22 23:54:17
Source code size: 302 bytes / 7 lines
Pitched / IR pitched: No / No
Views / Downloads: 187 / 239
Version history: 1 change(s)
Referenced in: #1006654 - Standard functions list 2 (LIVE, continuation of #761)
#1035018 - combineSteppables_dontDropEnded
#1036576 - concatSteppables - runs first until done, then second etc