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

11
LINES

< > BotCompany Repo | #1005546 // reversed - short for reversedList / reversedString

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

Transpiled version (2166L) is out of date.

1  
static <A> L<A> reversed(Iterable<A> l) {
2  
  ret reversedList(l);
3  
}
4  
5  
static <A> L<A> reversed(A[] l) {
6  
  ret reversedList(asList(l));
7  
}
8  
9  
static S reversed(S s) {
10  
  ret reversedString(s);
11  
}

Author comment

Began life as a copy of #1001906

download  show line numbers  debug dex  old transpilations   

Travelled to 20 computer(s): aoiabmzegqzx, bhatertpkbcr, cbybwowwnfue, cfunsshuasjs, ddnzoavkxhuk, ekrmjmnbrukm, gwrvuhgaqvyk, ishqpsrjomds, lpdgvwnxivlt, mowyntqkapby, mqqgnosmbjvj, omdjrrnzbjjv, pyentgdyhuwx, pzhvpgtvlbxg, snaazhdonpnp, tslmcundralx, tvejysmllsmz, vouqrxazstgt, whxojlpjdney, xrpafgyirdlv

No comments. add comment

Snippet ID: #1005546
Snippet name: reversed - short for reversedList / reversedString
Eternal ID of this version: #1005546/5
Text MD5: 4cc8113ef3027fdec16f0874082b6c37
Author: stefan
Category: javax
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2021-02-09 10:28:13
Source code size: 197 bytes / 11 lines
Pitched / IR pitched: No / No
Views / Downloads: 718 / 884
Version history: 4 change(s)
Referenced in: [show references]