static ItIt<S> allSubstringsWithoutEmpty(S s) { ret nestedIterator(countIterator_inclusive(1, l(s)), length -> mapI(countIterator_inclusive(0, length == 0 ? 1 : l(s)-length), start -> substring(s, start, start+length))); }
Began life as a copy of #1026836
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: | #1028136 |
Snippet name: | allSubstringsWithoutEmpty (iterator) |
Eternal ID of this version: | #1028136/1 |
Text MD5: | ca2c75878f55b863abe7e59c9a0b04d2 |
Author: | stefan |
Category: | javax |
Type: | JavaX fragment (include) |
Public (visible to everyone): | Yes |
Archived (hidden from active list): | No |
Created/modified: | 2020-05-23 13:03:45 |
Source code size: | 238 bytes / 5 lines |
Pitched / IR pitched: | No / No |
Views / Downloads: | 190 / 231 |
Referenced in: | [show references] |