1 | static L<Char> reversedCharacters(fS s) {
|
2 | if (s == null) null; |
3 | ret new RandomAccessAbstractList<Char>() {
|
4 | final int l = l(s); |
5 | public int size() { ret l; }
|
6 | public Char get(int i) { ret s.charAt(l-1-i); }
|
7 | }; |
8 | } |
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: | 766 / 793 |
| Referenced in: | [show references] |