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

4
LINES

< > BotCompany Repo | #1029195 // reverseCharIterator

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

Transpiled version (2592L) is out of date.

// from is index of first character to return
static ItIt<Char> reverseCharIterator(char[] s, int from, int n) {
  ret countIterator_exclusive_backwards(from, max(0, from-n), i -> s[i]);
}

Author comment

Began life as a copy of #1029163

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: #1029195
Snippet name: reverseCharIterator
Eternal ID of this version: #1029195/3
Text MD5: c22af9434638125f17ede48b4904f854
Author: stefan
Category: javax
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2020-07-24 17:48:21
Source code size: 191 bytes / 4 lines
Pitched / IR pitched: No / No
Views / Downloads: 200 / 286
Version history: 2 change(s)
Referenced in: #1006654 - Standard functions list 2 (LIVE, continuation of #761)