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

3
LINES

< > BotCompany Repo | #1030683 // takeFirstOfCyclicList

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

Libraryless. Click here for Pure Java version (2880L/17K).

static <A> L<A> takeFirstOfCyclicList(int n, L<A> l) {
  ret takeFirst(n, cyclicListIterator(l));
}

Author comment

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: 92 / 142
Referenced in: [show references]