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

8
LINES

< > BotCompany Repo | #1013969 // charactersAsStringList

JavaX fragment (include)

static L<S> charactersAsStringList(fS s) {
  if (s == null) null;
  ret new RandomAccessAbstractList<S>() {
    final int l = l(s);
    public int size() { ret l; }
    public S get(int i) { ret str(s.charAt(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: #1013969
Snippet name: charactersAsStringList
Eternal ID of this version: #1013969/2
Text MD5: 09fd961c95aec639491e32b17f2c578a
Author: stefan
Category: javax
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2018-03-18 18:40:03
Source code size: 228 bytes / 8 lines
Pitched / IR pitched: No / No
Views / Downloads: 398 / 417
Version history: 1 change(s)
Referenced in: [show references]