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

3
LINES

< > BotCompany Repo | #1027219 // steppableToIterator - iterator just returns nulls

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

Libraryless. Click here for Pure Java version (2325L/15K).

1  
static ItIt<O> steppableToIterator(Steppable s) {
2  
  ret s == null ? emptyItIt() : iff(() -> s.step() ? null : endMarker());
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: #1027219
Snippet name: steppableToIterator - iterator just returns nulls
Eternal ID of this version: #1027219/3
Text MD5: 045b13eeb8c6b1fd3c41244c3c08e9d3
Transpilation MD5: 8e712c1c06bfeb92f0f6470edca52144
Author: stefan
Category: javax
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2020-02-26 12:44:49
Source code size: 127 bytes / 3 lines
Pitched / IR pitched: No / No
Views / Downloads: 212 / 317
Version history: 2 change(s)
Referenced in: [show references]