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

3
LINES

< > BotCompany Repo | #1029120 // allPrefixes

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

Libraryless. Click here for Pure Java version (2670L/17K).

static ItIt<S> allPrefixes(S s) {
  ret countIterator_exclusive(0, l(s), i -> takeFirst(i, s));
}

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: #1029120
Snippet name: allPrefixes
Eternal ID of this version: #1029120/1
Text MD5: 992007921a8da79dd8e0ced323b572bc
Transpilation MD5: 4d29b8377085428658a75fefef051a10
Author: stefan
Category: javax
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2020-07-20 02:15:02
Source code size: 99 bytes / 3 lines
Pitched / IR pitched: No / No
Views / Downloads: 217 / 294
Referenced in: [show references]