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

3
LINES

< > BotCompany Repo | #1005976 // Producer - simpler version of Iterator. can't return nulls

JavaX fragment (include)

static interface Producer<A> {
  public A next(); // null when end
}

download  show line numbers  debug dex  old transpilations   

Travelled to 25 computer(s): aoiabmzegqzx, bhatertpkbcr, cbybwowwnfue, cfunsshuasjs, fehiwqupcyrn, gwrvuhgaqvyk, imzmzdywqqli, ishqpsrjomds, jtubtzbbkimh, lhdilzshxjzv, lpdgvwnxivlt, lulzaavyztxj, mowyntqkapby, mqqgnosmbjvj, onxytkatvevr, ppjhyzlbdabe, pyentgdyhuwx, pzhvpgtvlbxg, sawdedvomwva, tslmcundralx, tvejysmllsmz, vouqrxazstgt, whxojlpjdney, wtqryiryparv, xrpafgyirdlv

No comments. add comment

Snippet ID: #1005976
Snippet name: Producer - simpler version of Iterator. can't return nulls
Eternal ID of this version: #1005976/3
Text MD5: 5163445243b821c5bd027de330818ade
Author: stefan
Category: javax
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2019-12-25 15:48:32
Source code size: 70 bytes / 3 lines
Pitched / IR pitched: No / No
Views / Downloads: 767 / 9534
Version history: 2 change(s)
Referenced in: [show references]