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

14
LINES

< > BotCompany Repo | #1017626 // New Facts [Dyn Module]

JavaX source code (Dynamic Module) [tags: use-pretranspiled] - run with: Stefan's OS

Libraryless. Compilation Failed (14615L/103K).

1  
!7
2  
3  
abstract !include once #1016122 // TextArea
4  
 
5  
sclass NewFacts > TextArea {
6  
  void add(S s) {
7  
    if (nemptyAfterTrim(s))
8  
      setText(appendNewLineIfNempty(text()) + s);
9  
  }
10  
  
11  
  void remove(S s) {
12  
    setText(lines(nempties(listWithoutSet(lines(text()), lines(s)))));
13  
  }
14  
}

Author comment

Began life as a copy of #1016122

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: #1017626
Snippet name: New Facts [Dyn Module]
Eternal ID of this version: #1017626/6
Text MD5: e5c060b94f3001973205534e38d1e3ce
Transpilation MD5: a58a7b91cf926fc93203d9f8ddb95e77
Author: stefan
Category: javax / gui
Type: JavaX source code (Dynamic Module)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2018-07-31 01:09:45
Source code size: 292 bytes / 14 lines
Pitched / IR pitched: No / No
Views / Downloads: 310 / 1957
Version history: 5 change(s)
Referenced in: [show references]