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

12
LINES

< > BotCompany Repo | #1001185 // getChatHistory

JavaX fragment (include)

static L<S> getChatHistory() {
  new L<S> lines;
  
  while (true) {
    S line = suckFromChat();
    if (line == null) return lines;
    lines.add(line);
    if (line.length() == 0) break;
  }
  
  return lines;
}

download  show line numbers  debug dex  old transpilations   

Travelled to 13 computer(s): aoiabmzegqzx, bhatertpkbcr, cbybwowwnfue, cfunsshuasjs, gwrvuhgaqvyk, ishqpsrjomds, lpdgvwnxivlt, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tslmcundralx, tvejysmllsmz, vouqrxazstgt

No comments. add comment

Snippet ID: #1001185
Snippet name: getChatHistory
Eternal ID of this version: #1001185/1
Text MD5: fa9d7072c6173d524979bf14ba191f00
Author: stefan
Category: javax
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2015-09-28 20:25:28
Source code size: 225 bytes / 12 lines
Pitched / IR pitched: No / Yes
Views / Downloads: 517 / 791
Referenced in: [show references]