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

8
LINES

< > BotCompany Repo | #1008767 // stringAsCharacterList

JavaX fragment (include)

static L<Char> stringAsCharacterList(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(i); }
  };
}

download  show line numbers  debug dex  old transpilations   

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

No comments. add comment

Snippet ID: #1008767
Snippet name: stringAsCharacterList
Eternal ID of this version: #1008767/2
Text MD5: 76faca31ac4f6341c0382b1ad27c7ac7
Author: stefan
Category: javax
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2017-10-30 02:25:02
Source code size: 231 bytes / 8 lines
Pitched / IR pitched: No / No
Views / Downloads: 444 / 575
Version history: 1 change(s)
Referenced in: [show references]