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   

Travelled to 6 computer(s): bhatertpkbcr, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tvejysmllsmz, 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: 42 / 67
Referenced in: [show references]

Formerly at http://tinybrain.de/1029120 & http://1029120.tinybrain.de