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

3
LINES

< > BotCompany Repo | #1034676 // iteratorOrNull

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

Libraryless. Click here for Pure Java version (30L/1K).

1  
static <A> Iterator<A> iteratorOrNull(Iterable<A> c) {
2  
  ret c?.iterator();
3  
}

Author comment

Began life as a copy of #1011370

download  show line numbers  debug dex  old transpilations   

Travelled to 3 computer(s): bhatertpkbcr, mowyntqkapby, mqqgnosmbjvj

No comments. add comment

Snippet ID: #1034676
Snippet name: iteratorOrNull
Eternal ID of this version: #1034676/1
Text MD5: 1a77da222f32bc4891354d5a78d1dca4
Transpilation MD5: 8ec49b121929a2226e6debefcd8d6f46
Author: stefan
Category: javax
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2022-03-01 19:39:57
Source code size: 79 bytes / 3 lines
Pitched / IR pitched: No / No
Views / Downloads: 129 / 191
Referenced in: [show references]