Libraryless. Click here for Pure Java version (3003L/17K).
1 | static <A> L<A> replaceInClonedList(L<A> l, A a, A b) { |
2 | ret replace(cloneList(l), a, b); |
3 | } |
4 | |
5 | static <A> L<A> replaceInClonedList(A a, A b, L<A> l) { |
6 | ret replaceInClonedList(l, a, b); |
7 | } |
Began life as a copy of #1007775
download show line numbers debug dex old transpilations
Travelled to 3 computer(s): bhatertpkbcr, mqqgnosmbjvj, pyentgdyhuwx
No comments. add comment
Snippet ID: | #1031921 |
Snippet name: | replaceInClonedList |
Eternal ID of this version: | #1031921/1 |
Text MD5: | 3f52abb348fa05901be81d5738fc3efe |
Transpilation MD5: | 60fc5c6184c6fe3888f9990be0afbbce |
Author: | stefan |
Category: | javax |
Type: | JavaX fragment (include) |
Public (visible to everyone): | Yes |
Archived (hidden from active list): | No |
Created/modified: | 2021-08-02 04:03:41 |
Source code size: | 193 bytes / 7 lines |
Pitched / IR pitched: | No / No |
Views / Downloads: | 194 / 256 |
Referenced in: | [show references] |