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

7
LINES

< > BotCompany Repo | #1030452 // iterateWithIndex1 - starting at 1

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

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

1  
static <A> ItIt<Pair<Int, A>> iterateWithIndex1(Cl<A> l) {
2  
  ret iterateListWithIndex(l, 1);
3  
}
4  
5  
static <A> ItIt<Pair<Int, A>> iterateWithIndex1(A[] l) {
6  
  ret iterateListWithIndex(asVirtualList(l), 1);
7  
}

Author comment

Began life as a copy of #1029092

download  show line numbers  debug dex  old transpilations   

Travelled to 4 computer(s): bhatertpkbcr, mqqgnosmbjvj, pyentgdyhuwx, vouqrxazstgt

No comments. add comment

Snippet ID: #1030452
Snippet name: iterateWithIndex1 - starting at 1
Eternal ID of this version: #1030452/3
Text MD5: 0c299b6f791ec5b6ed2c5c86c968f9b8
Transpilation MD5: fc96e728bf62626acae4c5431fb93184
Author: stefan
Category: javax
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2021-06-18 15:43:03
Source code size: 209 bytes / 7 lines
Pitched / IR pitched: No / No
Views / Downloads: 147 / 211
Version history: 2 change(s)
Referenced in: [show references]