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).

sclass TestCloseableIterableIterator extends CloseableIterableIterator<O> {
  int i;
  event closing;
  
  public bool hasNext() { ret i == 0; }
  public O next() { i++; null; }
  public void close() { closing(); }
}

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: 9 / 30
Version history: 4 change(s)
Referenced in: [show references]