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

8
LINES

< > BotCompany Repo | #1036113 // TestCloseableIterableIterator

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

Libraryless. Click here for Pure Java version (9202L/52K).

1  
sclass TestCloseableIterableIterator extends CloseableIterableIterator<O> {
2  
  int i;
3  
  event closing;
4  
  
5  
  public bool hasNext() { ret i == 0; }
6  
  public O next() { i++; null; }
7  
  public void close() { closing(); }
8  
}

Author comment

Began life as a copy of #1017247

download  show line numbers  debug dex  old transpilations   

Travelled to 3 computer(s): elmgxqgtpvxh, mqqgnosmbjvj, wnsclhtenguj

No comments. add comment

Snippet ID: #1036113
Snippet name: TestCloseableIterableIterator
Eternal ID of this version: #1036113/5
Text MD5: a8f98d46b0f4b04c8fc0815ec73a3564
Transpilation MD5: 95e8837cc0dbe0013775ed2be6a0c16b
Author: stefan
Category: javax
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2022-09-21 18:32:21
Source code size: 223 bytes / 8 lines
Pitched / IR pitched: No / No
Views / Downloads: 131 / 201
Version history: 4 change(s)
Referenced in: [show references]