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

14
LINES

< > BotCompany Repo | #1017191 // DynPrintLogWithInput

JavaX fragment (include)

1  
!7
2  
3  
abstract sclass DynPrintLogWithInput extends DynPrintLog {
4  
  InputChooser inputChooser = new(this);
5  
  
6  
  visualize { ret northAndCenter(wrap(inputChooser), super.visualize()); }
7  
  
8  
  abstract void update(S input);
9  
10  
  void update {
11  
    if (inputChooser.update())
12  
      update(inputChooser.input());
13  
  }
14  
}

Author comment

Began life as a copy of #1017160

download  show line numbers  debug dex  old transpilations   

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

No comments. add comment

Snippet ID: #1017191
Snippet name: DynPrintLogWithInput
Eternal ID of this version: #1017191/1
Text MD5: 0331b4a2754b5ce70b72587ca10304ee
Author: stefan
Category: javax
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2018-07-13 18:50:27
Source code size: 320 bytes / 14 lines
Pitched / IR pitched: No / No
Views / Downloads: 345 / 908
Referenced in: [show references]