Libraryless. Click here for Pure Java version (2880L/17K).
1 | static <A> L<A> takeFirstOfCyclicList(int n, L<A> l) {
|
2 | ret takeFirst(n, cyclicListIterator(l)); |
3 | } |
Began life as a copy of #1030127
download show line numbers debug dex old transpilations
Travelled to 4 computer(s): bhatertpkbcr, mqqgnosmbjvj, pyentgdyhuwx, vouqrxazstgt
No comments. add comment
| Snippet ID: | #1030683 |
| Snippet name: | takeFirstOfCyclicList |
| Eternal ID of this version: | #1030683/1 |
| Text MD5: | d83af01c7a09e1efacc6fc6aa7d713a8 |
| Transpilation MD5: | 5e5ca9236718575b6d960a73fb7134bb |
| Author: | stefan |
| Category: | javax |
| Type: | JavaX fragment (include) |
| Public (visible to everyone): | Yes |
| Archived (hidden from active list): | No |
| Created/modified: | 2021-03-04 13:19:40 |
| Source code size: | 101 bytes / 3 lines |
| Pitched / IR pitched: | No / No |
| Views / Downloads: | 381 / 490 |
| Referenced in: | [show references] |