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

8
LINES

< > BotCompany Repo | #1013223 // reversedCharacters

JavaX fragment (include)

static L<Char> reversedCharacters(fS s) {
  if (s == null) null;
  ret new RandomAccessAbstractList<Char>() {
    final int l = l(s);
    public int size() { ret l; }
    public Char get(int i) { ret s.charAt(l-1-i); }
  };
}

Author comment

Began life as a copy of #1008767

download  show line numbers  debug dex  old transpilations   

Travelled to 13 computer(s): aoiabmzegqzx, bhatertpkbcr, cbybwowwnfue, cfunsshuasjs, gwrvuhgaqvyk, ishqpsrjomds, lpdgvwnxivlt, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tslmcundralx, tvejysmllsmz, vouqrxazstgt

No comments. add comment

Snippet ID: #1013223
Snippet name: reversedCharacters
Eternal ID of this version: #1013223/1
Text MD5: 973511f566028516e662892efe726cd9
Author: stefan
Category: javax
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2017-12-28 22:47:06
Source code size: 232 bytes / 8 lines
Pitched / IR pitched: No / No
Views / Downloads: 508 / 521
Referenced in: #1006654 - Standard functions list 2 (LIVE, continuation of #761)